Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

fury3

Borders & Cursors

This topic is 6913 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi How do I create a window without a border? I''ve tried using ''CreateWindow()'' and ''CreateWindowEx()'' but neither seem to support borderless windows. Another problem I have is with the cursor: How the heck do I get rid of it when it''s over my window? Thanx in advance

Share this post


Link to post
Share on other sites
Advertisement
Hello there

In C++ Builder you can just set BorderStyle of the window
= bsNone but im not sure how you do this using the api.

to get rid of the cursor use SetCursor(NULL);
(Cursor = crNone in c++builder)
cheers.

Share this post


Link to post
Share on other sites
To create a window with no borders, system menu etc. Use
CreateWindow/CreateWindowEx with a window style of WS_POPUP.

Very easy =)

Share this post


Link to post
Share on other sites
Thanx alot

Now only one problem remains: how do I hide the cursor when it''s over the window? Anyone got any ideas?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!