Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change the shape of CEdit custom draw? Pin
karhong4-May-09 22:21
karhong4-May-09 22:21 
GeneralRe: Change the shape of CEdit custom draw? Pin
Naveen4-May-09 22:26
Naveen4-May-09 22:26 
GeneralRe: Change the shape of CEdit custom draw? Pin
karhong4-May-09 22:51
karhong4-May-09 22:51 
AnswerRe: Change the shape of CEdit custom draw? Pin
Chandrasekharan P4-May-09 22:01
Chandrasekharan P4-May-09 22:01 
GeneralRe: Change the shape of CEdit custom draw? Pin
karhong4-May-09 22:19
karhong4-May-09 22:19 
Questionmodal, modeless and variable Pin
durban24-May-09 19:52
durban24-May-09 19:52 
AnswerRe: modal, modeless and variable Pin
_AnsHUMAN_ 4-May-09 20:04
_AnsHUMAN_ 4-May-09 20:04 
QuestionBitmaps, Clipboard and OLE Doing My Head In Pin
Kyudos4-May-09 18:03
Kyudos4-May-09 18:03 
I've implemented a method in my app to paste a bitmap from the clipboard as an OLE object. I take the CF_DIB data, write it to a temporary file, and then use COleClientItem::CreateFromFile to create the object.

However, this is subject to the vagaries of file associations and installed applications. I'd like to be able to code something that says 'I want to insert an OLE bitmap object created with mspaint.exe' so that behaviour is more consistent from system to system.

Looking at some of the underlying ::OLE (eg OleCreate) functions, this seems like it might be possible, but I can't make it work. Does anyone with a better understanding of OLE have any tips? (or teh c0d3z? Wink | ;) )

Cheers
QuestionEdit Box Validation Pin
Padmanabha_M4-May-09 17:41
Padmanabha_M4-May-09 17:41 
AnswerRe: Edit Box Validation Pin
Naveen4-May-09 18:09
Naveen4-May-09 18:09 
AnswerRe: Edit Box Validation Pin
_AnsHUMAN_ 4-May-09 18:10
_AnsHUMAN_ 4-May-09 18:10 
GeneralRe: Edit Box Validation Pin
Padmanabha_M4-May-09 18:47
Padmanabha_M4-May-09 18:47 
GeneralRe: Edit Box Validation Pin
_AnsHUMAN_ 4-May-09 19:07
_AnsHUMAN_ 4-May-09 19:07 
GeneralRe: Edit Box Validation Pin
Padmanabha_M4-May-09 20:45
Padmanabha_M4-May-09 20:45 
AnswerRe: Edit Box Validation Pin
David Crow5-May-09 2:59
David Crow5-May-09 2:59 
QuestionExecute external exe on windows service Pin
CodingLover4-May-09 16:57
CodingLover4-May-09 16:57 
AnswerRe: Execute external exe on windows service Pin
Randor 4-May-09 17:22
professional Randor 4-May-09 17:22 
NewsRe: Execute external exe on windows service Pin
CodingLover4-May-09 17:39
CodingLover4-May-09 17:39 
QuestionRe: Execute external exe on windows service Pin
David Crow5-May-09 3:03
David Crow5-May-09 3:03 
QuestionRe: Execute external exe on windows service Pin
CodingLover4-May-09 18:12
CodingLover4-May-09 18:12 
AnswerRe: Execute external exe on windows service Pin
Randor 5-May-09 12:38
professional Randor 5-May-09 12:38 
QuestionWindows service installation error Pin
CodingLover4-May-09 16:02
CodingLover4-May-09 16:02 
AnswerRe: Windows service installation error Pin
Randor 4-May-09 16:28
professional Randor 4-May-09 16:28 
NewsRe: Windows service installation error Pin
CodingLover4-May-09 16:33
CodingLover4-May-09 16:33 
QuestionFirst 4 bytes of EDITSTREAM destination buffer overlay Pin
ForNow4-May-09 12:54
ForNow4-May-09 12: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.