June 23, 2024, 01:47:23 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Converting Microsoft types to IWBasic

Started by Bruce Peaslee, March 29, 2012, 10:44:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bruce Peaslee

Some time ago I saw a chart that showed what IWB variable types conformed to those used by Microsoft in its documentation. For example:

hwndFrom -> uint.

I can't find it now. Does anybody know where it is?

Thanks.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

LarryMc

LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

Was it something like this:

The following table lists the available/suggested substitutes.

HWND = WINDOW, DIALOG or INT

LPCSTR/LPSTR = STRING, ISTRING

BYTE / UBYTE / TCHAR = CHAR

LONG = INT

WORD = WORD

DWORD = INT

UINT = UINT

BOOL = INT

WPARAM = INT

LPARAM = INT

LP* = POINTER

Brian

Bruce Peaslee

Quote from: Brian Pugh on March 29, 2012, 01:40:59 PM
Was it something like this:

The following table lists the available/suggested substitutes.

HWND = WINDOW, DIALOG or INT

LPCSTR/LPSTR = STRING, ISTRING

BYTE / UBYTE / TCHAR = CHAR

LONG = INT

WORD = WORD

DWORD = INT

UINT = UINT

BOOL = INT

WPARAM = INT

LPARAM = INT

LP* = POINTER

Brian

Yes, but a little longer.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Brian

Bruce,

I think this is what you were looking for (change the .txt extension to .htm)

Brian