Hi all,
Well its finally time for me to learn how to use common dialogs to
open and save files in PBDLL6 but I'm not getting very far.
If I do this very simple program:
When I try to compile it I get:
Undefined TYPE line 169; lpLogFont AS LOGFONT PTR
which sure enough is the fourth line down in the TYPE CHOOSEFONTAPI
user defined type in the comdlg32.inc file of which I've downloaded the
latest from the PB site (Last Update: November 11, 1999)
After I've got over this hurdle I need to basically call the Open and Save
common dialogs to allow the user to navigate around the file system
and choose either places to save files or files to load etc...
It would be great (for me) if I didn't necessarily have to create windows
to do this and if anyone could show me the simplest and easiest method
to use these common dialogs I'll be very happy.
TIA
IanMc
------------------
Well its finally time for me to learn how to use common dialogs to
open and save files in PBDLL6 but I'm not getting very far.
If I do this very simple program:
Code:
'Common Dialogs #INCLUDE "Comdlg32.inc" FUNCTION PBMAIN() MSGBOX "Open a file" END FUNCTION
Undefined TYPE line 169; lpLogFont AS LOGFONT PTR
which sure enough is the fourth line down in the TYPE CHOOSEFONTAPI
user defined type in the comdlg32.inc file of which I've downloaded the
latest from the PB site (Last Update: November 11, 1999)
After I've got over this hurdle I need to basically call the Open and Save
common dialogs to allow the user to navigate around the file system
and choose either places to save files or files to load etc...
It would be great (for me) if I didn't necessarily have to create windows
to do this and if anyone could show me the simplest and easiest method
to use these common dialogs I'll be very happy.
TIA
IanMc
------------------
Comment