|
From: oleksa <m.o...@uk...> - 2012-06-20 09:55:31
|
Hi!
Can't compile your sample,
Generating C source output to 'd:\tmp\hbmk_j2u5s6.dir\a1.c'... Done.
d:/tmp/hbmk_j2u5s6.dir/a1.o:a1.c:(.data+0x68): undefined reference to
`HB_FUN_NOR'
d:/tmp/hbmk_j2u5s6.dir/a1.o:a1.c:(.data+0x78): undefined reference to
`HB_FUN_PAINTWINDOW'
collect2: ld returned 1 exit status
Regards,
Alexey Myronenko
--- Оригінальне повідомлення ---
Від кого: ss...@ma...
Кому: hwg...@li...
Дата: 20 червня 2012, 12:22:34
Тема: [Hwgui-developers] Bug Report: MDICHILD WM_PAINT.
>
Hi All!
I found a bug about MDICHILD WINDOW,
When I use mouse to move MDICHILD WINDOW and background image have not
repaint.
//---------------------------------------------------------------------
#include "hbclass.ch"
#include "guilib.ch"
#include "windows.ch"
Func Main()
Local oWnd, oMenu
INIT WINDOW oWnd MAIN MDI AT 0,0 SIZE 800, 600;
COLOR HBrush():Add(16744703):handle;
TITLE "Test MDI Windows";
STYLE nOr( DS_MODALFRAME, WS_POPUP, WS_VISIBLE );
ON PAINT {|o,w| PaintWindow(o,w) }
MENU OF oWnd
MENU TITLE "[&A]Test"
MENUITEM "[&A]MDI Child Window" ACTION Test2(oWnd)
ENDMENU
ENDMENU
ACTIVATE WINDOW oWnd MAXIMIZED
Return NIL
Func Test2(oWnd)
Local oChild
INIT WINDOW oChild MDICHILD OF oWnd TITLE 'MDICHILD Window';
AT 200,0 SIZE 500,400;
STYLE WS_VISIBLE + WS_OVERLAPPEDWINDOW
ACTIVATE WINDOW oChild
RETURN NIL
//---------------------------------------------------------------------
Image1(MAIN MDI Window):http://img266.imageshack.us/img266/9954/image21t.jpg
Image2(Open MDICHILD Window):http://img593.imageshack.us/img593/3594/image22hh.jpg
Image3(Use Mouse to Move MDICHILD and background have not repaint):http://img163.imageshack.us/img163/15/image23q.jpg
ps. ONLY 'MDICHILD Window' not repaint, DIALOG/DIALOG NOMODAL/WINDOW
CHILD have repaint.
XP SP2/Chinese
harbour 3.0
HWGUI last svn -DUNICODE
borland C++ 5.5.1
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Hwgui-developers mailing lis...@li...://lists.sourceforge.net/lists/listinfo/hwgui-developers
|