Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Tommy Svensson12-Sep-03 0:00
Tommy Svensson12-Sep-03 0:00 
GeneralListBox derived class Problem again :( Pin
matrix66622-Aug-03 3:49
matrix66622-Aug-03 3:49 
GeneralRe: ListBox derived class Problem again :( Pin
Joey Bloggs22-Aug-03 17:05
Joey Bloggs22-Aug-03 17:05 
GeneralVirtual Memory Check Pin
keb22-Aug-03 3:45
keb22-Aug-03 3:45 
GeneralRe: Virtual Memory Check Pin
Alexander Ruscle22-Aug-03 5:24
Alexander Ruscle22-Aug-03 5:24 
GeneralRe: Virtual Memory Check Pin
keb22-Aug-03 5:54
keb22-Aug-03 5:54 
GeneralRe: Virtual Memory Check Pin
Alexander Ruscle22-Aug-03 9:58
Alexander Ruscle22-Aug-03 9:58 
QuestionHow to design custom GUI using GDI+ and monitor mouse clicks Pin
Fabio Miguez22-Aug-03 3:24
Fabio Miguez22-Aug-03 3:24 
Hello all,

First post here. I have been reading the site for about one and a half months, great place to be, thanks to all.

Here is my deal: I am programming an MFC App to demo what my company can do. We design avionics software for aircraft simulators, so I am pretty familiar with GDI+ (that is mainly what we use for a couple of reasons, instead of DirectX or OpenGL. You'd be surprised how many real instruments on real planes run on GDI or GDI+).

My idea for the demo is a dialogue that starts off black, our name fades in, then the user is taken to a menu page, where he will have three or four options to click on to see different avionics working. Except I don't want the Windows look at all. The click areas, for example, I want to be designed with GDI+, so that they don't look like buttons, but like the real avionics screens.

Then once he chooses an option by clicking it, the entire dialogue window will become that avionics screen, and it will run through a short loop, basically using my already existing GDI+ code for that instrument, and just using timers to change the variables every 10 ms or so to change things smoothly, like the airspeed bar increasing, the horizon tilting, etc.

I would also like the user to be able to quit the application whenever. I have the intro running right now, being drawn on the OnPaint, but I have to wait for it to finish drawing before I can quit the app.

I am willing to post the fundamental structure (can't post our proprietary code for the instruments, of course) here after this is done to serve as another example of how not to stick to Windows-looking apps.

Any help with any area would be appreciated. Thanks in advance.

Best Regards

Fabio Miguez
AnswerRe: How to design custom GUI using GDI+ and monitor mouse clicks Pin
Dangleberry22-Aug-03 3:56
sussDangleberry22-Aug-03 3:56 
GeneralRe: How to design custom GUI using GDI+ and monitor mouse clicks Pin
Fabio Miguez22-Aug-03 5:54
Fabio Miguez22-Aug-03 5:54 
GeneralVisual Studio 2003 bug and work around Pin
bobsheep22-Aug-03 3:23
bobsheep22-Aug-03 3:23 
Generalstring to int Pin
si_6922-Aug-03 3:12
si_6922-Aug-03 3:12 
GeneralRe: string to int Pin
David Crow22-Aug-03 3:20
David Crow22-Aug-03 3:20 
GeneralRe: string to int Pin
zeki yugnak22-Aug-03 3:39
zeki yugnak22-Aug-03 3:39 
GeneralRe: string to int Pin
Michael Dunn22-Aug-03 5:43
sitebuilderMichael Dunn22-Aug-03 5:43 
Questionhow to display the item selected in a tree list Pin
coda_x22-Aug-03 2:54
coda_x22-Aug-03 2:54 
AnswerRe: how to display the item selected in a tree list Pin
Member 42425922-Aug-03 3:03
Member 42425922-Aug-03 3:03 
GeneralSDI query Pin
coda_x22-Aug-03 2:37
coda_x22-Aug-03 2:37 
Generallaunch another console program Pin
Anonymous22-Aug-03 2:33
Anonymous22-Aug-03 2:33 
GeneralRe: launch another console program Pin
David Crow22-Aug-03 3:00
David Crow22-Aug-03 3:00 
GeneralRe: launch another console program Pin
Lanny Thompson22-Aug-03 3:02
Lanny Thompson22-Aug-03 3:02 
GeneralRe: launch another console program Pin
Brad Sokol22-Aug-03 3:03
Brad Sokol22-Aug-03 3:03 
GeneralRe: launch another console program Pin
Anonymous22-Aug-03 4:38
Anonymous22-Aug-03 4:38 
GeneralModeless Dialog Problem Pin
IceBerG7122-Aug-03 1:54
IceBerG7122-Aug-03 1:54 
GeneralRe: Modeless Dialog Problem Pin
Cedric Moonen22-Aug-03 1:57
Cedric Moonen22-Aug-03 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.