Quote
gordon451
I found
this post talking about moving maximised windows where the title bar has been disabled/removed.
Can I assume that all 1.6.x ++ will have this feature?
Gordon.
I guess it was never requested.
I thought it was optional, but it is a result
of the other request you mentioned.
Please report this bug at:
kmeleon.sourceforge.net/bugs/
And attach this solution to it.
void CTabReBar::OnLButtonDown(UINT nFlags, CPoint point)
{
int buttonID = GetButtonIDFromPoint(point);
if (buttonID<0)
{
if(theApp.preferences.bMaximized == false) // disallow moving if maximized
{
GetParentFrame()->SendMessage(WM_SYSCOMMAND, SC_MOVE+1, MAKELPARAM(point.x,point.y));
}
}
else
{
CToolBar::OnLButtonDown(nFlags,point);
}
}
(edit: changed true to false)
Code is tested, works fine in current
CVS-Version 1.6b2 of K-Meleon.exe.
deadlock
Edited 1 time(s). Last edit at 06/05/2011 12:29PM by deadlock.