PDA

View Full Version : C++ always on top


gary1974
11-03-2006, 05:59 AM
Is it possible to create a form that is always on top behavior? please help me. im doing a simple program thats need to be always on top,,,

gary

dave_
11-03-2006, 06:14 AM
Google is you friend; here is an article: http://www.codeguru.com/cpp/w-d/dislog/article.php/c1857/

.oisyn
11-03-2006, 08:57 AM
Set the WS_EX_TOPMOST exstyle.

I am assuming you are using the win32 API, as C++ itself doesn't have a GUI library and you haven't given enough information.

SamuraiCrow
11-05-2006, 02:16 PM
:) When I read the title I thought this thread was going to be about some C++ nut bashing Java and C#!

gary1974
11-18-2006, 09:46 AM
Google is you friend; here is an article: http://www.codeguru.com/cpp/w-d/dislog/article.php/c1857/

thank you guys

gary