-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I am making some changes to a CSliderCtrl using the Custom Draw, the control is to be used in a dialog. Here is the structure:
In my MessageMap I have : ON_NOTIFY_REFLECT_EX(NM_CUSTOMDRAW, OnNMCustomdraw)
The OnNMCustomdraw method looks like the following:
BOOL CCustomSliderCtrl::OnNMCustomdraw(NMHDR…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a window with a solid border around it. How can I remove the border(all of the non-client area) by using SetWindowLong and GetWindowLong?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a window with a solid border around it. How can I remove the border(all of the non-client area) by using SetWindowLong and GetWindowLong?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello, I created a small app in C# that removes border and caption from window, then it sets size to the user's resolution and centers it. It's a utility for me to use when I want to play games in windowed mode without being annoyed by the borders. Everything works fine with most games, but I tried…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I used such API to embed other app in my control.
SetParent(app.MainWindowHandle, control.Handle);
SetWindowLong(new HandleRef(this, app.MainWindowHandle), GWL_STYLE, (WS_VISIBLE | WS_CHILD) & ~WS_BORDER);
MoveWindow(app.MainWindowHandle, 0, 0, control.Width, control.Height, true);
1?How to…
>>> More