Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Layout (Forms) Designer » need Picture control window
need Picture control window [message #10770] Sat, 28 July 2007 05:08 Go to next message
Mark999 is currently offline  Mark999
Messages: 6
Registered: July 2007
Promising Member
I need a class of window that I can draw inside of it.

Basically I just need a rectangle on the dialog box. This will define the boundaries of where to draw.

What I need to do is draw a grid so I can draw a picture with the mouse. Just like the icon editor.

I'll look again at the dialog editor. Maybe it's called something different?
Re: need Picture control window [message #10773 is a reply to message #10770] Sat, 28 July 2007 09:43 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
You can draw inside of a TopWindow by inheriting from it and overloading 'virtual void Paint(Draw &draw)'. You can also inherit from Ctrl and do the same, then add your control to the window.
Previous Topic: Widget that not supported yet by TheIDE
Next Topic: A (maybe) dummy idea about widgets and control manager
Goto Forum:
  


Current Time: Sat Feb 16 12:04:52 CET 2019

Total time taken to generate the page: 0.00917 seconds