Dear developers,
I don't find the WM_INITIALIZE message in FF3. How can I setup my trackbars to the defaults values when the program is loaded in memory? What FF3 function do I have used for setup my trackbars to move down all?
Thanks
Stephane
I've been searching my SDK and other WinAPI resources, and I haven't found such a message. Are you sure it's WM_INITIALIZE and not WM_INITDIALOG???
Hi John
Its WM_INITDIALOG
Would it make sense to put your setup in the WM_CREATE of the form?
Or, in the special module FF_AppStart?
Use WM_CREATE for the Form that the controls are on. WM_INITDIALOG is used when you emply the dialog functionality of Windows (which is what PB's DDT uses). FF3 uses the CreateWindowEx approach so it uses WM_CREATE.
The initial TrackBar properties can be set using FireFly's PropertyList rather than having to do it via code.