... Yes, you should no longer use the savebmp I posted some time ago. That was before savebmp existed in hotinc. I'll delete the ancestor from the Files...
... Three cheers for MS! This runs! =====hotusb.bas $APPTYPE CONSOLE dim f as file f.open("usb0",2) 'read/write mode 'test for error in .open above: print...
... Oops, just noticed the program created a file named "usb0" [SOUND: air deflating from balloon]. :{ j OK, if someone has a printer on a usb port, maybe...
... In version 4.3h I still able to use a function as argument in CALLFUNC calls. But in current version, it will produce a non-working executable which is...
I really need helps to substitute the UNION structure within UDT. for e.g. TYPE MyType data1 as long UNION udata1 as long udata2 as word udata3 as byte END...
... Don, maybe we need an example of this trouble. The above works fine for me: =====callfunc2.bas $APPTYPE CONSOLE defstr s$ = "HotBasic: The Movie" declare...
... In HB, it is easy: substitute for the UNION above "udata1 as long". You can do this because HB does magic re conversions of numeric types as above. dim t...
... <snip> ... Doc, The following example only working if it compile with HB v4.3h and below. I didn't have v4.4 to v4.5, so couldn't tell if it working or...
... With this (v4.4 up), you need defint AMA = codeptr(AppendMenuA) callfunc AMA, 0, 0, MF_SEPARATOR, sMenu just like is done to use callfunc with any declared...
... No, and it's not needed ... really. MyByte = MyLong 'or MyWord; gets LoByte ... Gee, efgee is right, HB *is* different from other compilers. How is it...
... Thanks again Doc. It looks very familiar when I was reading RQ documentation back then. The combination is similar like BINDing. e.g. -- Code start -- ...
Local Variables ~~~~~~~~~~~~~~~ Any qualified type dimensioned in a SUB or FUNCTION is "local". The same user symbols may be dimensioned in different...
... Good clarification. Actually, the statement above combines two statements in one: DEFLING var var = 0 'initialize var value as desired Your demo of...
... Emmazle, In version 4.6h, string can be passed to STD sub in OBJ file. But, after a few test, I found any string copying activity to another string...
... this is not yet supported (directly). This is: $apptype obj declare sub mysub STD (lps as dword) 'lps = "long pointer string" defstr s$ = byref$(lps)...
HBassistant v1.22 has now been posted for download. The 'assistant' has been updated with the following: If a search is made for a non-existent keyword (not in...
Philip Bister
philip.bister@...
Dec 2, 2005 5:17 pm
8999
Please excuse my ignorance, but when I display a BITMAP the size is always ~100 x 100 pixel. Is this Normal? I thought if I do this: CREATE myBMP AS BITMAP ...
... Well, I think 64x64 is the normal default size. If you change certain parameters listed in Manual > Objects > BITMAP, you have to use the .Recreate...
... OK maybe it's 64x64, but I can't change the size... Maybe it's my fault, because I thought I could display any bmp on the fly, but as I figured out in...
... Yeah, it was my fault. Just found, Xsize and Ysize property of BITMAP. Always changed the Width and Height, instead of Xsize and Ysize. Width and Height...
... Right, untouched, as can be verified by read/display of the property. ... Yes, to show the whole thing, set Xsize = Width and Ysize = Height. The idea of...
... efgee, here is a quote from nviewlib.bas, recently cited here: CREATE myImage AS bitmap bmp=Load_GIF("baby.GIF",False) END CREATE where bmp is set equal to...
... Hi, Don. Interesting. You want a client size of 200x300, for example, and since different windows versions may have different title-bar size, etc, you...