I just upgraded to PB 6.0 and I want to start learning DDT.
I can easily write a program using the standard SDK style of code, so using DDT is like going backwards for me.
I get the general gist of using DDT, but I have a few questions:
(1) What siginificant changes (not details, just summary) had to be made to the win32api.inc file ?
The PB 5.0 win32api.inc file will generate compiler errors with PB 6, so obviously some major changes had to be made.
(2)Whats the purpose of the DDT.inc file ?
When writing a DDT program are we expected to NOT use the win32api.inc file or do we used both ?
(3)DDT obviously has some "default" styles for controls. Its easy to add more styles, but how do you "remove" a style that is used as a default ?
(4) Can you combine some SDK techniques with DDT, like using CreateWindowEx or CreateToolbar to create a control in the WM_INITDIALOG message ?
(5) The width and height of a DDT Dialog (when creating the Dialog), are they the actual Windows width and height (like with CreateWindowEx) or are they the width and height of the Client area ?
(I know they are not pixels, but Dialog units)
I can easily write a program using the standard SDK style of code, so using DDT is like going backwards for me.
I get the general gist of using DDT, but I have a few questions:
(1) What siginificant changes (not details, just summary) had to be made to the win32api.inc file ?
The PB 5.0 win32api.inc file will generate compiler errors with PB 6, so obviously some major changes had to be made.
(2)Whats the purpose of the DDT.inc file ?
When writing a DDT program are we expected to NOT use the win32api.inc file or do we used both ?
(3)DDT obviously has some "default" styles for controls. Its easy to add more styles, but how do you "remove" a style that is used as a default ?
(4) Can you combine some SDK techniques with DDT, like using CreateWindowEx or CreateToolbar to create a control in the WM_INITDIALOG message ?
(5) The width and height of a DDT Dialog (when creating the Dialog), are they the actual Windows width and height (like with CreateWindowEx) or are they the width and height of the Client area ?
(I know they are not pixels, but Dialog units)
Comment