Cannot create Dialog Box

Cannot create Dialog Box

Postby Silvio » Sun Apr 16, 2006 10:41 pm

ON PROGRAM

Code: Select all  Expand view
DEFINE DIALOG oDlg RESOURCE "MAIN"
ACTIVATE DIALOG oDlg CENTER



IT MAKE THIS ERROR

Path and name: C:\Work\PRG\img\Immagine.Exe (32 bits)
Size: 434,688 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 04/17/06, 00:39:02
Error description: Error FiveWin/3 Cannot create Dialog Box:
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿResource: MAIN


THE RESOURCE

Code: Select all  Expand view
#ifdef __FLAT__
   1 24 "WindowsXP.Manifest"
#endif

#ifdef __64__
   1 24 "WinXP/WindowsXP.Manifest64"
#endif






#define DIALOG_1   1

MAIN DIALOG 13, 50, 770, 332
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
CAPTION "PHOTO HUNT"
FONT 8, "MS Sans Serif"
{
CONTROL "TBitMap", 100, "TBitMap", 0 | WS_CHILD | WS_VISIBLE, 5, 7, 377, 314
CONTROL "TBitMap", 200, "TBitMap", 0 | WS_CHILD | WS_VISIBLE, 388, 7, 377, 314
}





WHY ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Sun Apr 16, 2006 11:07 pm

Because you need to redefine those two TBitmap controls that you have placed in the dialog.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41901
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Sun Apr 16, 2006 11:48 pm

SORRY u ARE RIGHT
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 41 guests