The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse on Combobox Pushbutton
#1
I wonder whether - and if yes how - it is possible to start the folllowing dialog, with the mouse on combobox pushbutton. Thanks for any advice.

Function Dialog52
Code:
Copy      Help
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog"
;5 ComboBox 0x54230242 0x0 11 54 96 212 ""
;4 Edit 0x54030080 0x200 10 33 96 12 ""
;3 Button 0x54032000 0x0 10 9 48 14 "Button"
;1 Button 0x54030000 0x4 116 116 48 14 "OK"
;2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""

str controls = "4 5"
str e4 cb5
cb5="1[]2[]a[]c"
if(!ShowDialog(dd &sub.DlgProc &controls)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1


Messages In This Thread
Mouse on Combobox Pushbutton - by ssimop - 07-09-2018, 04:00 AM
RE: Mouse on Combobox Pushbutton - by Kevin - 07-09-2018, 06:27 AM
RE: Mouse on Combobox Pushbutton - by ssimop - 07-09-2018, 07:32 AM
RE: Mouse on Combobox Pushbutton - by Kevin - 07-09-2018, 07:44 AM
RE: Mouse on Combobox Pushbutton - by ssimop - 07-09-2018, 07:48 AM
RE: Mouse on Combobox Pushbutton - by Kevin - 07-09-2018, 07:50 AM
RE: Mouse on Combobox Pushbutton - by ssimop - 07-09-2018, 07:57 AM
RE: Mouse on Combobox Pushbutton - by Kevin - 07-09-2018, 08:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)