Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
window but not dialog
#4
Listbox is used to select pages. When listbox is clicked, function DT_Page is executed. It shows controls of selected page and hides controls of other pages.

Code:
Copy      Help
,case LBN_SELCHANGE<<16|3
, g11
,_i=LB_SelectedItem(lParam)
,DT_Page hDlg _i


Icon:

Code:
Copy      Help
int-- hicon
sel message
,case WM_INITDIALOG
,DT_Init(hDlg lParam)
,hicon=GetIcon("notepad.exe")
,SendMessage hDlg WM_SETICON 0 hicon
,goto g11
,
,case WM_DESTROY
,DestroyIcon hicon
,DT_DeleteData(hDlg)


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)