Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM_ComboBox EM_SETCUEBANNER
#1
Hi,

How to add EM_SETCUEBANNER to QM_ComboBox control? 
The following code only works for the first QM_ComboBox control

Thanks for any advice and help
david


Macro Macro3
Code:
Copy      Help
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog" "4"
;3 Edit 0x54030080 0x200 32 8 96 12 ""
;4 QM_ComboBox 0x54030242 0x0 32 32 96 13 ""
;5 QM_ComboBox 0x54030242 0x4 32 56 96 13 ""
;1 Button 0x54030001 0x4 116 116 48 14 "OK"
;2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040C02 "*" "" "" ""

str controls = "3 4 5"
str e3 qmcb4 qmcb5

qmcb4=
;
;hello
;world
qmcb5=
;
;hello
;world
if(!ShowDialog(dd &sub.DlgProc &controls)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,SendMessage id(3 hDlg) EM_SETCUEBANNER 1 @"Tip txt1"

,SendMessage id(1001 hDlg) EM_SETCUEBANNER 1 @"Tip txt2"
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1


Messages In This Thread
QM_ComboBox EM_SETCUEBANNER - by Davider - 02-14-2023, 10:13 AM
RE: QM_ComboBox EM_SETCUEBANNER - by Kevin - 02-14-2023, 01:24 PM
RE: QM_ComboBox EM_SETCUEBANNER - by Davider - 02-14-2023, 11:33 PM
RE: QM_ComboBox EM_SETCUEBANNER - by Kevin - 02-15-2023, 02:53 AM
RE: QM_ComboBox EM_SETCUEBANNER - by Davider - 02-15-2023, 03:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)