Mar 20th, 2006, 06:32 PM
#1
Grab handle standards
Is there a system parameter or accepted standard for grab handles (the squares used to indicate that an object has the focus to be moved or resized)
Or any other thoughts on how to implement this in a .NET container component?
Mar 20th, 2006, 08:43 PM
#2
Re: Grab handle standards
I haven't understood your question correctly. (I'm a n00b in .NET ).
Are you looking for the DrawFocusRect API.
Mar 21st, 2006, 01:45 AM
#3
Re: Grab handle standards
Originally Posted by
Merrion
Is there a system parameter or accepted standard for grab handles (the squares used to indicate that an object has the focus to be moved or resized)
Or any other thoughts on how to implement this in a .NET container component?
Yes, and it's called "DragAndDrop"
But it doesn't handle resizing
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Mar 21st, 2006, 02:21 AM
#4
Re: Grab handle standards
DragnDrop is the action of dragging and dropping from one source to a destination.
Merion: If you make a UserControl in .net it will handle th grab handles for you automatically.
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 21st, 2006, 03:14 AM
#5
Re: Grab handle standards
Merion: If you make a UserControl in .net it will handle th grab handles for you automatically.
Ah, but I want these grab handles available at run time - I am adding a design interface to the structured document utility classes so that the user can modify the document template before printing it.
The GDI classes seem to have a DrawGrabHandle method which I will use...but without a seperate window for the grab handles the whole mouse icon and mouse event handling is going to be a pain in the whatsit...
Mar 21st, 2006, 04:00 AM
#6
Re: Grab handle standards
I'm going to move this thread to th evb.net forum as I know you will get more direction on how to accomplish what you want.
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 21st, 2006, 12:45 PM
#7
Re: Grab handle standards
What is this 'grab handle' you guys are talking about ?
Please post a screenshot.
Mar 21st, 2006, 12:51 PM
#8
Re: Grab handle standards
Originally Posted by
iPrank
What is this 'grab handle' you guys are talking about ?
Please post a screenshot.
Maybe this..
the squares used to indicate that an object has the focus to be moved or resized
Attached Images
Mar 21st, 2006, 12:54 PM
#9
Re: Grab handle standards
iStupid.
Mar 21st, 2006, 01:42 PM
#10
Re: Grab handle standards
iKnow Jk.
I remember reading a thread on something like this a few months ago. It was here in the vb.net forum so maybe try a filtered search for it.
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 21st, 2006, 01:47 PM
#11
Re: Grab handle standards
I'm creating an usercontrol in C# (playing) seems to be the cleaner way, then use it as a container, it's not hard to draw the grab handles, the hard part is adding some interaction to it, as Merrion said.
Something related in C#.. (CodeGuru)
http://www.codeguru.com/forum/showthread.php?t=318948
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width