Jump to content
  • Advertisement
Sign in to follow this  
31337noob

sizing handles

This topic is 4807 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

is there a function in c++ that shows the resizing handles( the gray boxes ) around a control. if not, then how can i make my own? please help me. thanks in advanced.

Share this post


Link to post
Share on other sites
Advertisement
Uhmn - as in the resizing handles that come up on your favorite RAD tool (BCB, VB, etc)? I don't think there is a C++ function to do that. You'll probably have to draw them yourself (using Window's canvas-drawing stuff probably).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
http://msdn.microsoft.com/library/en-us/msaa/msaapndx_9b8w.asp

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
http://msdn.microsoft.com/library/en-us/msaa/msaapndx_9b8w.asp


is there sample coding so i know how to use it?

Share this post


Link to post
Share on other sites
Quote:
Original post by 31337noob
Quote:
Original post by Anonymous Poster
http://msdn.microsoft.com/library/en-us/msaa/msaapndx_9b8w.asp

is there sample coding so i know how to use it?

This is the thing in the bottom left corner of a window that lets you resize them. Not the resizing-boxes around controls you are refering to.

CRectTracker, while generally used for OLE (like - when you drag some random object into your favorite word processor), will probably do what you are trying to achieve. But yes - as you say - it's MFC, so I'm not sure it's useful to you.

Share this post


Link to post
Share on other sites
Quote:
Original post by Andrew Russell
Quote:
Original post by 31337noob
Quote:
Original post by Anonymous Poster
http://msdn.microsoft.com/library/en-us/msaa/msaapndx_9b8w.asp

is there sample coding so i know how to use it?

This is the thing in the bottom left corner of a window that lets you resize them. Not the resizing-boxes around controls you are refering to.

CRectTracker, while generally used for OLE (like - when you drag some random object into your favorite word processor), will probably do what you are trying to achieve. But yes - as you say - it's MFC, so I'm not sure it's useful to you.


by the way, i am not writting a word program. i am writting a program that generates the code for you in win32. it looks like vb. you can make your window with any controls that is in my program and you dont have to guess all of the x,y,w,h in the CreateWindow function. cool huh.
the program is done, but i just want one more function in my program.
the RESIZING HANDLES.

Share this post


Link to post
Share on other sites
Quote:
Original post by 31337noob
by the way, i am not writting a word program.

I know - hence I said that's what they are "generally used" for.

I think your best bet is to drop a canvas over your window and draw and manipulate them manually. Unless you use MFC and CRectTracker or you can find another method.

Share this post


Link to post
Share on other sites
Quote:
Original post by Andrew Russell
Quote:
Original post by 31337noob
by the way, i am not writting a word program.

I know - hence I said that's what they are "generally used" for.

I think your best bet is to drop a canvas over your window and draw and manipulate them manually. Unless you use MFC and CRectTracker or you can find another method.


i really dont feel like making my own tracker, but i started it so i guess i have to. the only way for me to stop making it myself is if someone finds another way to do it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!