
when I ported it over to my code, it (the two main lines of SetFocus and HideCaret) wouldn't work - possibly because my dialog is in a seperate thread, but i was able to get it to work by showing the form initially as modeless just to have it visible, and then hide the cursor before going modal:
Code:
DIALOG SHOW MODELESS hDlg Call DlgProc CALL SetFocus(GetDlgItem(hDlg , 400)) HideCaret GetDlgItem(hDlg , 400) DIALOG SHOW MODAL hDlg Call DlgProc
------------------
Leave a comment: