PB/CC Resource Question 
Author Message
 PB/CC Resource Question

See my reply on the PB BBS site...


Quote:

> I came across the resource-file phenomenon in PB/CC, but unfortunately have
> no clue on how to implement these in a program. The electronic manual that
> comes with PB/CC isn't of much help here...

> Say, I have a .RC file (See below -- and I do know how to convert this to
> the .PBR that will be included in the actual program)

> How can I actually get this dialog to _appear_ in a PB/CC program?

> '-----------------------------------------------------------
> #include "resource.h"
> DIALOG_1 DIALOG 34, 40, 218, 77
> STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
> WS_MINIMIZEBOX | WS_MAXIMIZEBOX
> CAPTION "DIALOGTEST"
> FONT 8, "Comic Sans MS"
> {
>  DEFPUSHBUTTON "OK", IDOK, 7, 48, 50, 14
>  PUSHBUTTON "Cancel", IDCANCEL, 62, 48, 50, 14
>  PUSHBUTTON "Help", IDHELP, 158, 48, 50, 14
>  CTEXT "This is a test!", -1, 84, 12, 50, 16
> }
> '-----------------------------------------------------------
> --
> Marc van den Dikkenberg
> --
> The powerbasic Archives -- http://www.*-*-*.com/ ~excel/pb.html
> All Basic Code Archives -- http://www.*-*-*.com/

--
============================
 Lance Edmonds
 Email contacts:



============================


Fri, 06 Jul 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. MX Lookup with PB/CC or PB/DLL

2. TCPADDR for PB/DLL & PB/CC

3. Info on new PB/CC and PB/DLL

4. Announcing the JazzAge COM Wizard for PB/DLL and PB/CC

5. animated characters, speech input/output in PB/DLL and PB/CC

6. email enable PB/DLL-PB/CC using Outlook

7. SQL, ADO/OLE-DB programming in PB/DLL and PB/CC

8. pb/cc 2.11 FORMAT$ question / suggestion

9. NUL device not working in PB/CC?

10. dir_trav.bas pb/cc 2.11 directory traverse program

11. pb/cc REGEXPR example misleading

12. Buying PB/CC....??

 

 
Powered by phpBB® Forum Software