Home » U++ Library support » TopWindow&PopUp, TrayIcon » No title bar and no frame, just Image or Ctrl
Re: No title bar and no frame, just Image or Ctrl [message #12920 is a reply to message #2647] |
Wed, 28 November 2007 18:12 |
amit
Messages: 17 Registered: November 2007
|
Promising Member |
|
|
I tried to something:
-- the basic idea is to work in CtrlCore::Win32::Win32Proc.cpp
-- in message case : WM_NCHITTEST .
-- add this:
UINT test;
test = DefWindowProc(hwnd, WM_NCHITTEST, wParam, lParam);
if(test == HTCLIENT)
{
return HTCAPTION;
}
else
{
return test;
}
-- the problem starts here, any component added to this window does not receive any of the mouse event.
-- so if someone could guide me to workout a solution where i can know that mouse have been clicked in empty area and not in any child controls, then this could really work.
[Updated on: Wed, 28 November 2007 18:14] Report message to a moderator
|
|
|
|
|
No title bar and no frame, just Image or Ctrl
By: mezise on Wed, 19 April 2006 22:28
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mirek on Wed, 19 April 2006 22:57
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mezise on Thu, 20 April 2006 01:03
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mezise on Thu, 20 April 2006 02:34
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: amit on Wed, 28 November 2007 13:33
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mirek on Thu, 29 November 2007 05:54
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: amit on Thu, 29 November 2007 13:21
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: amit on Wed, 28 November 2007 18:12
|
Goto Forum:
Current Time: Wed May 15 09:33:05 CEST 2024
Total time taken to generate the page: 0.02047 seconds
|