resizing dialog defined from resource
Posted: Fri May 09, 2008 5:55 pm
Hello there!
This is my first post here so please be gentle with your replies...
I defined a dialog from workshop that looks like this:
......
CBS_DETAIL DIALOG 1, 1, 100, 100
STYLE WS_CHILD | WS_BORDER
FONT 10, "Courier"
{
}
......
then in my .prg:
......
DEFINE DIALOG oDlg RESOURCE "CBS_DETAIL";
FROM 1,1 TO oChildWnd:oWndClient:nHeight - 1, oChildWnd:oWndClient:nWidth - 2;
SIZE oChildWnd:oWndClient:nHeight - 1, oChildWnd:oWndClient:nWidth - 2;
OF oChildWnd PIXEL
ACTIVATE DIALOG oDlg NOWAIT
......
BUT STILL I CAN'T RESIZE IT....
can anybody toss the salad for me here... it would be a great help.
-i'm using FW2.4 and xHarbour 1.0b
My regards.
This is my first post here so please be gentle with your replies...
I defined a dialog from workshop that looks like this:
......
CBS_DETAIL DIALOG 1, 1, 100, 100
STYLE WS_CHILD | WS_BORDER
FONT 10, "Courier"
{
}
......
then in my .prg:
......
DEFINE DIALOG oDlg RESOURCE "CBS_DETAIL";
FROM 1,1 TO oChildWnd:oWndClient:nHeight - 1, oChildWnd:oWndClient:nWidth - 2;
SIZE oChildWnd:oWndClient:nHeight - 1, oChildWnd:oWndClient:nWidth - 2;
OF oChildWnd PIXEL
ACTIVATE DIALOG oDlg NOWAIT
......
BUT STILL I CAN'T RESIZE IT....
can anybody toss the salad for me here... it would be a great help.
-i'm using FW2.4 and xHarbour 1.0b
My regards.