Hello,
I was just thinking (I know, I know, you dont have to say it)
What if PB extended the DDT to include plain windows, DWT!
Here is a small example:
I hope I got my point across. I think this would really make
PBDLL/WIN VERY useable for new/old users because it seems to be
the natural evolution of DDT(well at least in my eyes). I think
this would also make code much more readable and thus make it
easier to debug. This would also mean the end of the dreaded
WinMain function block, as it could be replaced by a few simple
lines of code.
Well, what do all of you say about this one?
------------------
Cheers
[This message has been edited by mark smit (edited July 05, 2000).]
I was just thinking (I know, I know, you dont have to say it)
What if PB extended the DDT to include plain windows, DWT!
Here is a small example:
Code:
DIALOG NEW %NULL, "TestDialog", 1, 1, etc... WINDOW NEW %NULL, "TestWindow", 1, 1, etc... WINDOW SET CURSOR LoadCursor(%NULL, %IDC_ARROW) WINDOW SET ICON LoadIcon(%NULL, %IDI_APPLICATION) WINDOW SET BACKGROUND GetStockBrush(%GRAY_BRUSH) WINDOW SET ICONSM LoadIcon(%NULL, %IDI_APPLICATION) WINDOW GET SIZE CBHWND to x&, y& WINDOW SET SIZE CBHWND 640, 480 CBHINSTANCE CBHWND DIALOG SET TEXT CBHNDL, "NewDialogText" WINDOW SET TEXT CBHWND, "NewWindowText"
PBDLL/WIN VERY useable for new/old users because it seems to be
the natural evolution of DDT(well at least in my eyes). I think
this would also make code much more readable and thus make it
easier to debug. This would also mean the end of the dreaded
WinMain function block, as it could be replaced by a few simple
lines of code.
Well, what do all of you say about this one?
------------------
Cheers
[This message has been edited by mark smit (edited July 05, 2000).]
Comment