Software Archive
Read-only legacy content
17060 Discussions

Drawing lines in a callback subroutine

Intel_C_Intel
Employee
524 Views
Hi!
Here is my problem. From the IDE, select File/New, and then choose "New Windows Application", and "A simple dialog based application". Now, I'm concerned about how to write the code that will draw a line on the dialog box when the Apply button is pressed. I have checked out the other samples on drawing lines, however, they are using a different approach essentially based on MainWndProc(hwnd, message, wParam, lParam), where the handle hwnd is given as input. I'm not very experienced when it comes to programming windows. Does anyone have a simple sample file illustrating a solution to my problem? All help is highly appreciated. Thanks in advance.
Best regards
Soren Poulsen
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
524 Views
If you're familiar with DFLOGM, you may take a look at my extended
version with a sample on

www.geocities.com/jdujic

(follow the link to "Dialog Management").

Jugoslav
0 Kudos
Intel_C_Intel
Employee
524 Views
Thanks a lot Jugoslav! I have downloaded the xflogm.f90 file from your homepage, and will take a closer look at that file. Thanx again!

Best regards
Soren
0 Kudos
Reply