Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Writing Objects into files in binary mode Pin
Cedric Moonen3-Feb-10 2:10
Cedric Moonen3-Feb-10 2:10 
GeneralRe: Writing Objects into files in binary mode Pin
Sujan Dhakal3-Feb-10 2:17
Sujan Dhakal3-Feb-10 2:17 
AnswerRe: Writing Objects into files in binary mode Pin
CPallini3-Feb-10 2:20
mveCPallini3-Feb-10 2:20 
GeneralRe: Writing Objects into files in binary mode Pin
Sujan Dhakal3-Feb-10 2:28
Sujan Dhakal3-Feb-10 2:28 
QuestionUnable to paste clipboard data by sending WM_PASTE message Pin
lazy_panther3-Feb-10 1:30
lazy_panther3-Feb-10 1:30 
AnswerRe: Unable to paste clipboard data by sending WM_PASTE message Pin
Iain Clarke, Warrior Programmer3-Feb-10 3:45
Iain Clarke, Warrior Programmer3-Feb-10 3:45 
AnswerRe: Unable to paste clipboard data by sending WM_PASTE message Pin
LunaticFringe3-Feb-10 3:48
LunaticFringe3-Feb-10 3:48 
QuestionRe: Unable to paste clipboard data by sending WM_PASTE message [modified] Pin
lazy_panther3-Feb-10 16:35
lazy_panther3-Feb-10 16:35 

And don't use the clipboard to pass data internally in your program. It's very bad style; suppose, for instance, the user had text already on the clipboard that he'd copied from a browser window with the intention of pasting it later into a Word document. Don't you think that user is going to be a little irritated to find the text he'd placed there is overwritten with something your program did internally, without user consent? 


In my application, we can assume that user won't be doing Copy-Paste.

Let me briefly describe my applcation

My program will be running in background with a icon residing in notification area. Based on user signal, I need to process some information without prompting user for it and paste it in word document. The information required has already been pre-processed. User should press a short cut key and pre-processed information should get pasted at the current cursor position of MS word.

I tried sending WM_PASTE to notepad first because it seemed much simpler than operating with MS word.

Can you please suggest some alternate routes for pasting information to word document from win32 program?

Really appreciate your help.

AnswerRe: Unable to paste clipboard data by sending WM_PASTE message Pin
LunaticFringe3-Feb-10 18:44
LunaticFringe3-Feb-10 18:44 
GeneralRe: Unable to paste clipboard data by sending WM_PASTE message Pin
lazy_panther4-Feb-10 1:50
lazy_panther4-Feb-10 1:50 
GeneralRe: Unable to paste clipboard data by sending WM_PASTE message Pin
LunaticFringe4-Feb-10 13:32
LunaticFringe4-Feb-10 13:32 
QuestionTroublesome Handling of Files in C++ Pin
Sujan Dhakal3-Feb-10 1:29
Sujan Dhakal3-Feb-10 1:29 
AnswerRe: Troublesome Handling of Files in C++ Pin
CPallini3-Feb-10 1:37
mveCPallini3-Feb-10 1:37 
AnswerRe: Troublesome Handling of Files in C++ [modified] Pin
Stuart Dootson3-Feb-10 1:46
professionalStuart Dootson3-Feb-10 1:46 
GeneralRe: Troublesome Handling of Files in C++ Pin
CPallini3-Feb-10 1:54
mveCPallini3-Feb-10 1:54 
GeneralRe: Troublesome Handling of Files in C++ Pin
Stuart Dootson3-Feb-10 2:28
professionalStuart Dootson3-Feb-10 2:28 
AnswerRe: Troublesome Handling of Files in C++ Pin
Raj Indian3-Feb-10 22:00
Raj Indian3-Feb-10 22:00 
QuestionSetUpAndDeployment Project Pin
jannathali2-Feb-10 22:31
jannathali2-Feb-10 22:31 
AnswerRe: SetUpAndDeployment Project [modified] Pin
KingsGambit2-Feb-10 23:47
KingsGambit2-Feb-10 23:47 
GeneralRe: SetUpAndDeployment Project Pin
jannathali3-Feb-10 1:03
jannathali3-Feb-10 1:03 
GeneralRe: SetUpAndDeployment Project Pin
KingsGambit3-Feb-10 1:14
KingsGambit3-Feb-10 1:14 
QuestionCaption Change Pin
john56322-Feb-10 20:32
john56322-Feb-10 20:32 
AnswerRe: Caption Change Pin
Richard MacCutchan2-Feb-10 22:34
mveRichard MacCutchan2-Feb-10 22:34 
AnswerRe: Caption Change Pin
CPallini2-Feb-10 22:42
mveCPallini2-Feb-10 22:42 
AnswerRe: Caption Change Pin
Moak3-Feb-10 1:12
Moak3-Feb-10 1:12 

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.