hello, friends..
i wanna to put my widget on the title bar with qt
on window platform,
i use Qt::FrameLessWindowHint to hide the caption, and use WM_NCHITTEST to deal with move and resize.
but without borders, i move the window to screen edge, window can't maximum or restore by system.......
then , i tried to use SetWindowLong() to make border back...it works, but too ugly....code and the widget..
at last, i make client area over title bar with WM_NCCALCSIZE message, it works, but have many bugs....then, i changes lots of QtGui's codes to make it deal with WM_NCCALCSIZE... update frameStruct and client Rect etc..
but, on linux platform, i can't find any help from XLib Api... can i create canvas intead of window?
or use Qt::FrameLessWindowHint, and try to solver Scrren Edge problem?
thanks for any reply...
so poor my english....
Bookmarks