|
ShowWindow(SW_HIDE) will hide the window, ShowWindow(SW_SHOW) will show it again. Be sure you have a way for the user to show the dialog once it's been hidden!
|
|
|
|
|
You can toggle the WS_EX_TOPMOST[^] extended window style using the SetWindowPos[^] function.
Window always visible:
SetWindowPos(&wndTop, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE) Window can be hidden behind other windows:
SetWindowPos(&wndNoTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
You may be right I may be crazy -- Billy Joel --
Within you lies the power for good, use it!!!
|
|
|
|
|
In additional do you have any idea for when its hide how to show?
|
|
|
|
|
////////////////////////////////////////////////////////////////////
// The code can control the dialog "autohide" by mouse move out of dialog.
virtual BOOL Create( UINT nIDTemplate, CWnd* pParentWnd = NULL );<br />
BOOL CPropertyDlg::Create( UINT nIDTemplate, CWnd* pParentWnd )<br />
{<br />
return CDialog::Create(nIDTemplate, GetDesktopWindow());<br />
}
////////////////////////////////////////////////////////////////////
// for hide the icon on the dock
DWORD Style = ::GetWindowLong(m_hWnd,GWL_EXSTYLE);<br />
Style |= WS_EX_TOOLWINDOW;<br />
::SetWindowLong(m_hWnd,GWL_EXSTYLE,Style);
//////////////////////////////////////////////////////////////
// to allow autohide
::SetWindowPos(m_hWnd,HWND_NOTOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
// to stop autohide and hold the dialog
::SetWindowPos(m_hWnd,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
/*
* Now I can switch the two states with a button.
* I found it at CSDN ( http://community.csdn.net/Index.htm )
*/
I'm coding.I'm living
|
|
|
|
|
Of course your program is show on TaskManager
|
|
|
|
|
Hi,
Can some one kindly help me find out what exactly these numbers are? Say I see a version number 1.2.3.4
What each number means?
I never used them already. Recently I'm working on a project and I have to version my project (release) executable.
I see 1.0.0.1 In Visual Studio 6.0, when should I change each number andd how?
//This is not a signature
while (I'm_alive) {
printf("I Love Programming");
}
|
|
|
|
|
Click the "ResourceView" tab. Expand the application folder and the "Version" folder inside it. Double click on “VS_VERSION_INFO”. You can edit the version information from here.
Steve
|
|
|
|
|
Thank you, but I knew that.
What I'm seeking is a simple description of those numbers(1.0.0.1)
//This is not a signature
while (I'm_alive) {
printf("I Love Programming");
}
|
|
|
|
|
|
Hi,
Thank you very much indeed.
That will help me a lot.
//This is not a signature
while (I'm_alive) {
printf("I Love Programming");
}
|
|
|
|
|
Hi..I want to ask that which engine to use to create 2d or 3d games...
Where i can get these game engines..
like directx 3d & others
Can any one help me
Khatri
|
|
|
|
|
your best bet would be to look here gamedev.net this is the beginner help page once you've absorbed all that info you can join the forum and get stuck into some serious game dev questions
-= Technomancer =-
|
|
|
|
|
|
|
Well I m a software engineer & i know i can design n implement a very good game. For that i just need an 3d engine to create it. That's y asking u people is there any 3d game engine or api that i could get for free so i can work as a game development for fun.
By the way thank you guys for helping me so far....encourages those who will help more..
Khatri
|
|
|
|
|
Hi everybody,
i have an (ANSI) C++ application that hosts the WebBrowser control.
I write an HTML file to the control via m_spMsHtml->write( sfArray ).
The I use the HTML editing functionality of the webbrowser to
modify the source, lateron I read the content back and save it to
a file again.
This works quite good until I use special characters like german
or greek characters with their HTML encoding.
If a document contains characters like these:
ä
ü
Σ
α
then the "write"-command already translates these into
their unicode-equivalent, so they become to
ä
ü
Σ
α
I would like to keep the HTML-equivalent.
Is there any way to do this?
Any help is appreciated,
thanks in advance!
Jens Doose
|
|
|
|
|
Can someone just give me a basic tutorial on C++ and Visual C++?
I'm a true failure.
|
|
|
|
|
I think you asked this question yesterday did you see previous links
|
|
|
|
|
Sure - it's at www.google.com
Seriously, this question is impossible to answer. Buy a book and work through it. Come back when you have *specific* questions, we'd love to help you ( seriously )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Did you find your answer?
|
|
|
|
|
|
thanks,i have already done with it,
it's Windows DDK.i have installed it now.
|
|
|
|
|
Why you delete your message?
|
|
|
|
|
sorry!
i thought it would be useless!so...
and when i found it's wrong,i cann't get it back..
|
|
|
|
|
Hello WinXYhappy,
How are you? I'm wondering and also I'm glad my reply is 9 Oct and your reply is 1st November but I forgot your question I hope it solved
|
|
|
|