Creating borderless windows...
-
I am trying to create a borderless window that will just be display text of statis and will close by itself if statis is positive. The window will only display buttons to handle error and will have another chance to close app. And no taskbar button. I have VS.NET but using VC++ 6.0 code(Win32API only). I have tried calling CreateWindow() with many different window styles but some work but not like I wanted and others build stops at the end of building and doesn't switch over to debug mode. Note: if the backgroud was white and I was to run it windows should only paint white over the current screen. Any help. Real World Coding: POP& BuyAPop(Money ADollar){...};
-
I am trying to create a borderless window that will just be display text of statis and will close by itself if statis is positive. The window will only display buttons to handle error and will have another chance to close app. And no taskbar button. I have VS.NET but using VC++ 6.0 code(Win32API only). I have tried calling CreateWindow() with many different window styles but some work but not like I wanted and others build stops at the end of building and doesn't switch over to debug mode. Note: if the backgroud was white and I was to run it windows should only paint white over the current screen. Any help. Real World Coding: POP& BuyAPop(Money ADollar){...};
Omit the border styles (WS_BORDER, WS_THICKFRAME, etc.) and add the extended style WS_EX_TOOLWINDOW. --Mike-- Actual sign at the laundromat I go to: "No tinting or dying" Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.
-
I am trying to create a borderless window that will just be display text of statis and will close by itself if statis is positive. The window will only display buttons to handle error and will have another chance to close app. And no taskbar button. I have VS.NET but using VC++ 6.0 code(Win32API only). I have tried calling CreateWindow() with many different window styles but some work but not like I wanted and others build stops at the end of building and doesn't switch over to debug mode. Note: if the backgroud was white and I was to run it windows should only paint white over the current screen. Any help. Real World Coding: POP& BuyAPop(Money ADollar){...};
Use ModifyStyle(..) Or ModifyStyleEx(..) to change the window style. Regards http://www.ucancode.net/
-
Omit the border styles (WS_BORDER, WS_THICKFRAME, etc.) and add the extended style WS_EX_TOOLWINDOW. --Mike-- Actual sign at the laundromat I go to: "No tinting or dying" Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.
Thank for reply... Your reply help up to here... I changed the style param for CreateWindow() to 0. I added SetWindowLong(...,GWL_STYLE, 0); and SetWindowLong(...,GWL_EXSTYLE, 0); All that has change is I can drag window, curved ends XP titlebar and all borders are gone are gone(or transparent). The only thing is left is the titlebar is still painted and when Debuging and VS.NET is maximized and program is below it Two thing I can do... 1) I DbClick VS.NET caption and some of my program show but VS.NET UI is not erase from non-client area. 2) I click my program taskbar button and only the client area of appears on top(non-client area seems transparent). This is what I wanted along. Also I still cant get rid of that taskbar button. Any more help... Thanks... Real World Coding: POP& BuyAPop(Money ADollar){...};
-
Omit the border styles (WS_BORDER, WS_THICKFRAME, etc.) and add the extended style WS_EX_TOOLWINDOW. --Mike-- Actual sign at the laundromat I go to: "No tinting or dying" Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.
Would it be easier to create a hidden parent window and just have the child borderless window display. Real World Coding: POP& BuyAPop(Money ADollar){...};