Click here to Skip to main content
15,911,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HOW TO IMPORT A TAB DELIMITED TEXT FILE INTO AN ACCESS DATABSE PROGRAMMATICALLY? Pin
vcseeker10-Jul-03 18:25
vcseeker10-Jul-03 18:25 
GeneralCan't compile dll in debug mode Pin
eddymohd9-Jul-03 23:07
eddymohd9-Jul-03 23:07 
GeneralRe: Can't compile dll in debug mode Pin
Rage9-Jul-03 23:30
professionalRage9-Jul-03 23:30 
GeneralRe: Can't compile dll in debug mode Pin
eddymohd10-Jul-03 16:40
eddymohd10-Jul-03 16:40 
GeneralRe: Can't compile dll in debug mode Pin
Mike Dimmick10-Jul-03 6:38
Mike Dimmick10-Jul-03 6:38 
GeneralRe: Can't compile dll in debug mode Pin
eddymohd10-Jul-03 16:44
eddymohd10-Jul-03 16:44 
GeneralText Drawing as in Win PaintBrush Pin
黑发9-Jul-03 22:37
黑发9-Jul-03 22:37 
GeneralRe: Text Drawing as in Win PaintBrush Pin
Iain Clarke, Warrior Programmer9-Jul-03 22:51
Iain Clarke, Warrior Programmer9-Jul-03 22:51 
A good basis for something like this would be the SCRIBBLE sample program that comes with MSDN.

You could have a toolbar which switches between graphic modes. In Text mode, you can detect a
OnLButtonUp event in your view and pop a box asking for text.

There are plenty of text input dialog boxes here on CodeProject you could use. And its not hard
to get ClassWizard to make a dialog box with an edit box in it for you. If you are clever, you
could handle EN_CHANGE notifications from the edit box and live-update the view with the text
you are typing in.

For drawing the resultant text, just use
pDC->DrawText (...) function.

I hope that helped,

Iain.

GeneralRe: Text Drawing as in Win PaintBrush Pin
黑发9-Jul-03 23:08
黑发9-Jul-03 23:08 
GeneralRe: Text Drawing as in Win PaintBrush Pin
Iain Clarke, Warrior Programmer9-Jul-03 23:49
Iain Clarke, Warrior Programmer9-Jul-03 23:49 
GeneralClass-Constructing function Pin
FlyingDancer9-Jul-03 21:34
FlyingDancer9-Jul-03 21:34 
GeneralRe: Class-Constructing function Pin
jhwurmbach9-Jul-03 22:16
jhwurmbach9-Jul-03 22:16 
GeneralRe: Class-Constructing function Pin
FlyingDancer9-Jul-03 22:59
FlyingDancer9-Jul-03 22:59 
Questionconsole program font size? Pin
DaveE9th9-Jul-03 20:24
DaveE9th9-Jul-03 20:24 
AnswerRe: console program font size? Pin
Iain Clarke, Warrior Programmer9-Jul-03 22:58
Iain Clarke, Warrior Programmer9-Jul-03 22:58 
AnswerRe: console program font size? Pin
Anthony_Yio10-Jul-03 1:44
Anthony_Yio10-Jul-03 1:44 
GeneralRe: console program font size? Pin
DaveE9th12-Jul-03 2:35
DaveE9th12-Jul-03 2:35 
Questionfull screen? Pin
DaveE9th9-Jul-03 20:21
DaveE9th9-Jul-03 20:21 
AnswerRe: full screen? Pin
Magnus Westin9-Jul-03 22:33
Magnus Westin9-Jul-03 22:33 
Generalhelp with IF statement Pin
DaveE9th9-Jul-03 20:13
DaveE9th9-Jul-03 20:13 
GeneralRe: help with IF statement Pin
Rage9-Jul-03 20:46
professionalRage9-Jul-03 20:46 
GeneralRe: help with IF statement Pin
DaveE9th9-Jul-03 21:28
DaveE9th9-Jul-03 21:28 
GeneralRe: help with IF statement Pin
Ted Ferenc9-Jul-03 21:45
Ted Ferenc9-Jul-03 21:45 
GeneralRe: help with IF statement Pin
Rage9-Jul-03 21:51
professionalRage9-Jul-03 21:51 
GeneralRe: help with IF statement Pin
DaveE9th9-Jul-03 21:54
DaveE9th9-Jul-03 21:54 

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.