Jump to content


C++ always on top


  • You cannot reply to this topic
4 replies to this topic

#1 gary1974

    New Member

  • Members
  • Pip
  • 2 posts

Posted 03 November 2006 - 01:59 PM

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

#2 dave_

    Senior Member

  • Members
  • PipPipPipPip
  • 584 posts

Posted 03 November 2006 - 02:14 PM

Google is you friend; here is an article: http://www.codeguru....icle.php/c1857/

#3 .oisyn

    DevMaster Staff

  • Moderators
  • 1822 posts

Posted 03 November 2006 - 04:57 PM

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.
C++ addict
-
Currently working on: the 3D engine for Tomb Raider.

#4 SamuraiCrow

    Senior Member

  • Members
  • PipPipPipPip
  • 459 posts

Posted 05 November 2006 - 10:16 PM

:) When I read the title I thought this thread was going to be about some C++ nut bashing Java and C#!

#5 gary1974

    New Member

  • Members
  • Pip
  • 2 posts

Posted 18 November 2006 - 05:46 PM

dave_ said:

Google is you friend; here is an article: http://www.codeguru....icle.php/c1857/

thank you guys

gary





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users