GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Mar-2005, 00:05
kumaran kumaran is offline
Junior Member
 
Join Date: Dec 2004
Posts: 31
kumaran is on a distinguished road

how to draw a line by clicking OK button


hi
i want to draw a line by clicking the OK button in a dialog box. pls tell me
what should i write and where in the program.
  #2  
Old 17-Mar-2005, 12:10
LuciWiz's Avatar
LuciWiz LuciWiz is offline
Moderator
 
Join Date: Jul 2004
Location: Cluj-Napoca (Romania)
Posts: 924
LuciWiz is a jewel in the roughLuciWiz is a jewel in the roughLuciWiz is a jewel in the roughLuciWiz is a jewel in the rough
Quote:
Originally Posted by kumaran
hi
i want to draw a line by clicking the OK button in a dialog box. pls tell me
what should i write and where in the program.

Call the function Max gave you in this post in your OnOK() method.

Yes, I know the 2 threads were about the same problem, I just pretend I don't; don't do it again, I'm watching
__________________
Please read these Guidelines before posting on the forum

"A person who never made a mistake never tried anything new."
Einstein
  #3  
Old 17-Mar-2005, 18:27
Max Payne's Avatar
Max Payne Max Payne is offline
Regular Member
 
Join Date: Apr 2004
Location: 3° 08 North 101° 42 East
Posts: 332
Max Payne is a jewel in the roughMax Payne is a jewel in the roughMax Payne is a jewel in the rough
Quote:
Originally Posted by LuciWiz
Call the function Max gave you in this post in your OnOK() method.

i start to wonder, does my function doesn't work...?

Quote:
Originally Posted by LuciWiz
I'm watching

oooh thats scary... !!!

/cant you delete a duplicat post....??
__________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds
  #4  
Old 17-Mar-2005, 23:19
LuciWiz's Avatar
LuciWiz LuciWiz is offline
Moderator
 
Join Date: Jul 2004
Location: Cluj-Napoca (Romania)
Posts: 924
LuciWiz is a jewel in the roughLuciWiz is a jewel in the roughLuciWiz is a jewel in the roughLuciWiz is a jewel in the rough
Quote:
Originally Posted by Max Payne
i start to wonder, does my function doesn't work...?

Your function works fine, Max. I used it to draw the nicest red line I've seen

Quote:
Originally Posted by Max Payne
/cant you delete a duplicat post....??

Sure I can. I just thought I'd let it slide because the poster used different scenarios to describe his posts, and people searching for either of them will find help easier and faster. I didn't mean to scare anybody

Best regards,
Lucian
__________________
Please read these Guidelines before posting on the forum

"A person who never made a mistake never tried anything new."
Einstein
 
 

Recent GIDBlogDeveloping GUIs with wxPython (Part 3) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD Burner Help - Power Calibration Error.... JonBoy420 Computer Hardware Forum 110 05-Feb-2008 18:34
burning problems PLEASE PLEASE HELP kelticeire Computer Hardware Forum 4 01-Dec-2006 15:39
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 10:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28
CD Buring Failed skanth2000 Computer Hardware Forum 1 15-Nov-2003 03:52

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:53.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.