09-25-2008 09:51 AM
09-25-2008 11:52 AM
Hello Jürgen,
You can't remove it completely, but you can disable it by setting the ATTR_CLOSE_ITEM_VISIBLE panel attribute to 0.
Luis
09-26-2008 01:03 AM
09-26-2008 03:59 PM
09-29-2008 01:14 AM
Hi tstanley,
That might be a solution, but i want to use it because i need the titlebar caption and the icon.
I have played with SDK. I am able to the remove the close from icon-menu a dimm the x-Button. But thats not what i need.
//HWND hWnd;
//GetPanelAttribute (m_hPanel, ATTR_SYSTEM_WINDOW_HANDLE, (int*) &hWnd);
//HMENU hMenu = GetSystemMenu(hWnd, FALSE);
//DeleteMenu(hMenu,SC_CLOSE,MF_BYPOSITION);
Maybe there is an other SDK function doing this.
Greetings
Juergen
10-01-2008 02:56 AM
Hello j_dodek,
you can use the panel attribute "ATTR_SYSTEM_MENU_VISIBLE". Then you see the titlebar of the panel an the panel icon.
Greets Be-Mo