Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC and dynamic_cast? Pin
nobaq5-Jan-09 12:24
nobaq5-Jan-09 12:24 
QuestionHow to use C# class library dll controls in C++ Win32 project Pin
atisman5-Jan-09 10:02
atisman5-Jan-09 10:02 
AnswerRe: How to use C# class library dll controls in C++ Win32 project Pin
Hamid_RT5-Jan-09 21:21
Hamid_RT5-Jan-09 21:21 
QuestionLimit on MFC apps running at one time? Pin
Zigoto005-Jan-09 9:22
Zigoto005-Jan-09 9:22 
AnswerRe: Limit on MFC apps running at one time? Pin
CPallini5-Jan-09 10:09
mveCPallini5-Jan-09 10:09 
QuestionHow can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Steve_5-Jan-09 7:22
Steve_5-Jan-09 7:22 
AnswerRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
CPallini5-Jan-09 7:39
mveCPallini5-Jan-09 7:39 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Steve_5-Jan-09 8:15
Steve_5-Jan-09 8:15 
Thanks,

I have made the following call:

SetWindowLong(window.getHWND(), GWL_EXSTYLE, WS_EX_CLIENTEDGE);

I also call SetWindowPos as stated in the documentation to cause the changes to appear. The window visibly changes. How would I specify that I want to remove or hide the window border and title bar? I have looked at the documentation for Window Styles and CreateWindowEx but am unsure how to achieve this.

I'm looking to achieve something similar to the result of the following .NET code:

myForm.BorderStyle = FormBorderStyle.None;

Thanks again!

Steve
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Code-o-mat5-Jan-09 9:12
Code-o-mat5-Jan-09 9:12 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Mark Salsbery5-Jan-09 9:15
Mark Salsbery5-Jan-09 9:15 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Steve_5-Jan-09 11:50
Steve_5-Jan-09 11:50 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Member 1038099621-Mar-14 22:56
Member 1038099621-Mar-14 22:56 
QuestionHow to display a dialog as domodal which is invoked through shellexecute? Pin
Super Hornet5-Jan-09 7:14
Super Hornet5-Jan-09 7:14 
AnswerRe: How to display a dialog as domodal which is invoked through shellexecute? Pin
David Crow5-Jan-09 8:00
David Crow5-Jan-09 8:00 
QuestionHiding a view Pin
nobaq5-Jan-09 5:27
nobaq5-Jan-09 5:27 
AnswerRe: Hiding a view Pin
Code-o-mat5-Jan-09 5:50
Code-o-mat5-Jan-09 5:50 
GeneralRe: Hiding a view Pin
nobaq5-Jan-09 5:57
nobaq5-Jan-09 5:57 
GeneralRe: Hiding a view Pin
Code-o-mat5-Jan-09 9:06
Code-o-mat5-Jan-09 9:06 
QuestionChanging Picture control size at runtime Pin
sabapathy_805-Jan-09 2:20
sabapathy_805-Jan-09 2:20 
AnswerRe: Changing Picture control size at runtime Pin
Jijo.Raj5-Jan-09 2:22
Jijo.Raj5-Jan-09 2:22 
AnswerRe: Changing Picture control size at runtime Pin
Hamid_RT5-Jan-09 2:51
Hamid_RT5-Jan-09 2:51 
QuestionWindows CE remote process viewer Pin
yasir_dm5-Jan-09 2:06
yasir_dm5-Jan-09 2:06 
QuestionAdd custom perfmon counters Pin
runOnce0x5-Jan-09 2:02
runOnce0x5-Jan-09 2:02 
RantRe: Add custom perfmon counters Pin
runOnce0x8-Jan-09 20:50
runOnce0x8-Jan-09 20:50 
QuestionSDI app: Wait for printer Pin
nobaq5-Jan-09 1:56
nobaq5-Jan-09 1:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.