sizing handles
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.
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).
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?
i found CRectTracker, but it is for MFC. waaaa.
they must have one for win32 if they have one for mfc.
they must have one for win32 if they have one for mfc.
Quote:Original post by 31337noobQuote: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.
Quote:Original post by Andrew RussellQuote:Original post by 31337noobQuote: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.
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.
Quote:Original post by Andrew RussellQuote: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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement