FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Cannot create Dialog Box
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Cannot create Dialog Box
Posted: Sun Apr 16, 2006 10:41 PM
ON PROGRAM

 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

#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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Cannot create Dialog Box
Posted: 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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Cannot create Dialog Box
Posted: Sun Apr 16, 2006 11:48 PM

SORRY u ARE RIGHT

Best Regards, Saludos



Falconi Silvio

Continue the discussion