11-22-2014, 01:50 PM
Sorry another question, in the very first example at the top of this topic I see:
str dd=
;BEGIN DIALOG
=> ;1 "" 0x90C80AC8 0x0 0 0 224 280 "SelectFileDialogWithTreeview"
;3 SysTreeView32 0x54030823 0x0 0 0 224 256 ""
=> ;1 Button 0x54030001 0x4 116 260 48 14 "OK"
;2 Button 0x54030000 0x4 168 260 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040201 "*" "" "" ""
Both the main dialog AND button 'OK' have both same ID: 1 (I have put arrow indicators above)
Is this technically allowed? All the examples work, I just found it strange. I thought all the objects should have their own unique ID.
(The same question goes for the "SelectQmItemDialogWithTreeview" example).
str dd=
;BEGIN DIALOG
=> ;1 "" 0x90C80AC8 0x0 0 0 224 280 "SelectFileDialogWithTreeview"
;3 SysTreeView32 0x54030823 0x0 0 0 224 256 ""
=> ;1 Button 0x54030001 0x4 116 260 48 14 "OK"
;2 Button 0x54030000 0x4 168 260 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040201 "*" "" "" ""
Both the main dialog AND button 'OK' have both same ID: 1 (I have put arrow indicators above)
Is this technically allowed? All the examples work, I just found it strange. I thought all the objects should have their own unique ID.
(The same question goes for the "SelectQmItemDialogWithTreeview" example).