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

C / C++ / MFC

 
GeneralRe: Reading results of CHECKBOX & AUTOCHECKBOX.... Pin
Michael Dunn21-Jun-03 18:07
sitebuilderMichael Dunn21-Jun-03 18:07 
Generalusing tom in Richedit Pin
Asad Rasheed21-Jun-03 6:08
Asad Rasheed21-Jun-03 6:08 
GeneralRe: using tom in Richedit Pin
Ryan Binns21-Jun-03 19:38
Ryan Binns21-Jun-03 19:38 
GeneralRe: using tom in Richedit Pin
Asad Rasheed23-Jun-03 0:54
Asad Rasheed23-Jun-03 0:54 
GeneralRe: using tom in Richedit Pin
Ryan Binns23-Jun-03 0:59
Ryan Binns23-Jun-03 0:59 
GeneralRe: using tom in Richedit Pin
Asad Rasheed23-Jun-03 1:27
Asad Rasheed23-Jun-03 1:27 
GeneralRe: using tom in Richedit Pin
Ryan Binns23-Jun-03 1:46
Ryan Binns23-Jun-03 1:46 
GeneralRe: using tom in Richedit Pin
Ryan Binns23-Jun-03 1:50
Ryan Binns23-Jun-03 1:50 
OK. Instead of including "initguid.h", try putting this at the top of your source file:
#define DEFINE_GUIDXXX(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
        EXTERN_C const GUID CDECL name = { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }

DEFINE_GUIDXXX(IID_ITextDocument,   0x8CC497C0,0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,0x00,0x47,0xBE,0x5D);
DEFINE_GUIDXXX(IID_ITextSelection,  0x8CC497C1,0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,0x00,0x47,0xBE,0x5D);
DEFINE_GUIDXXX(IID_ITextRange,      0x8CC497C2,0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,0x00,0x47,0xBE,0x5D);
DEFINE_GUIDXXX(IID_ITextFont,       0x8CC497C3,0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,0x00,0x47,0xBE,0x5D);
DEFINE_GUIDXXX(IID_ITextPara,       0x8CC497C4,0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,0x00,0x47,0xBE,0x5D);
DEFINE_GUIDXXX(IID_ITextStoryRanges,0x8CC497C5,0xA1DF,0x11CE,0x80,0x98,0x00,0xAA,0x00,0x47,0xBE,0x5D);
DEFINE_GUIDXXX(IID_ITextDocument2,  0x01c25500,0x4268,0x11d1,0x88,0x3a,0x3c,0x8b,0x00,0xc1,0x00,0x00);
DEFINE_GUIDXXX(IID_ITextMsgFilter,  0xa3787420,0x4267,0x11d1,0x88,0x3a,0x3c,0x8b,0x00,0xc1,0x00,0x00);
This is what I had to do in a project I was just looking at. I can't remember where I got it from, but it prevented compile errors.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: using tom in Richedit Pin
Asad Rasheed23-Jun-03 11:36
Asad Rasheed23-Jun-03 11:36 
GeneralRe: using tom in Richedit Pin
Ryan Binns23-Jun-03 13:29
Ryan Binns23-Jun-03 13:29 
GeneralRe: using tom in Richedit Pin
Asad Rasheed23-Jun-03 21:52
Asad Rasheed23-Jun-03 21:52 
GeneralRe: using tom in Richedit Pin
Ryan Binns24-Jun-03 14:59
Ryan Binns24-Jun-03 14:59 
GeneralRe: using tom in Richedit Pin
Asad Rasheed24-Jun-03 7:02
Asad Rasheed24-Jun-03 7:02 
QuestionHow do I receive data after an completed AcceptEx operation? Pin
bond00621-Jun-03 4:51
bond00621-Jun-03 4:51 
AnswerRe: How do I receive data after an completed AcceptEx operation? Pin
bond00621-Jun-03 9:02
bond00621-Jun-03 9:02 
Generaldll inside a dl Pin
vishalnikisharma21-Jun-03 2:38
vishalnikisharma21-Jun-03 2:38 
GeneralRe: dll inside a dl Pin
valikac21-Jun-03 7:39
valikac21-Jun-03 7:39 
GeneralRe: dll inside a dl Pin
vishalnikisharma22-Jun-03 19:29
vishalnikisharma22-Jun-03 19:29 
GeneralRe: dll inside a dl Pin
Anonymous22-Jun-03 16:10
Anonymous22-Jun-03 16:10 
GeneralRe: dll inside a dl Pin
vishalnikisharma22-Jun-03 19:25
vishalnikisharma22-Jun-03 19:25 
GeneralCStatusBarCtrl::SetIcon() problem with icon size Pin
Baris Kurtlutepe21-Jun-03 0:07
Baris Kurtlutepe21-Jun-03 0:07 
GeneralRe: CStatusBarCtrl::SetIcon() problem with icon size Pin
Michael Dunn21-Jun-03 5:10
sitebuilderMichael Dunn21-Jun-03 5:10 
GeneralRe: CStatusBarCtrl::SetIcon() problem with icon size Pin
Baris Kurtlutepe21-Jun-03 5:23
Baris Kurtlutepe21-Jun-03 5:23 
GeneralMFC CBitmap LoadBitmap() Pin
tom7620-Jun-03 23:49
tom7620-Jun-03 23:49 
GeneralRe: MFC CBitmap LoadBitmap() Pin
Ryan Binns21-Jun-03 0:53
Ryan Binns21-Jun-03 0:53 

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.