The users manual for PB/DLL 6.0 shows that text can be
displayed in the line control. The short program below
has one line control with text, but no text is displayed
when I run it. Yet, I know that the text is stored by
the control because I can retrieve it with a CONTROL
GET TEXT statement. I have searched the forum for some
leads to the problem, but couldn't find any.
Can anyone tell me why the text isn't displayed.
#COMPILE EXE
#INCLUDE "win32api.inc"
FUNCTION PBMAIN()AS LONG
LOCAL hWin AS LONG
DIALOG NEW 0,"Test Line Control",,,120,100, %WS_SYSMENU TO hWin
CONTROL ADD LINE, hWin, 100, "Testing", 10, 10, 80, 20, %SS_BLACKFRAMEk
DIALOG SHOW MODAL hWin
END FUNCTION
displayed in the line control. The short program below
has one line control with text, but no text is displayed
when I run it. Yet, I know that the text is stored by
the control because I can retrieve it with a CONTROL
GET TEXT statement. I have searched the forum for some
leads to the problem, but couldn't find any.
Can anyone tell me why the text isn't displayed.
#COMPILE EXE
#INCLUDE "win32api.inc"
FUNCTION PBMAIN()AS LONG
LOCAL hWin AS LONG
DIALOG NEW 0,"Test Line Control",,,120,100, %WS_SYSMENU TO hWin
CONTROL ADD LINE, hWin, 100, "Testing", 10, 10, 80, 20, %SS_BLACKFRAMEk
DIALOG SHOW MODAL hWin
END FUNCTION
Comment