"If you brought it in, You take it out"...
I suppose that still applies!!

Thanks!
Scott
------------------
Scott
mailto:[email protected][email protected]</A>
Control Set Focus aDlg, %IDCANCEL Control Send aDlg, %IDIMAGE1,%STM_SETICON,hIcon,0 Dialog Show Modal aDlg Call AboutProc 'Goes to dialog proc and ends when user presses ok DeleteObject hIcon End Function 'Winmain
CONTROL SEND CBHNDL, Id&, %STM_GETIMAGE, %IMAGE_BITMAP, 0 TO hBmp& CONTROL SET IMAGE hDlg&, Id&, NewImage$ ' example uses ID from resource file. DeleteObject hBmp&
' hIcon is the handle (not resource indentifier) returned from ' LoadIcon . RV& = SendMessage(hButton, %STM_SETICON, hIcon, 0)
#compile exe #include "win32api.inc" function pbmain as long local hdlg as long dialog new %NULL,"Test",%CW_USEDEFAULT,%CW_USEDEFAULT,256,64,%WS_CAPTION or %WS_SYSMENU to hdlg control add label,hdlg,100,format$(%IDI_APPLICATION,"\##"),4,4,32,32,%SS_ICON dialog show modal hdlg end function
%IDHELPICON = 1002 %IDLABEL = -1 control add label,hDialog,%IDLABEL,"#1002",4,4,32,32, etc...
string = format$(%IDHELPICON,"\##")
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: