Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why my four radio buttons show up but no text next to them? Pin
Paolo Messina24-Jul-01 3:41
professionalPaolo Messina24-Jul-01 3:41 
GeneralMonitoring Clipboard Pin
23-Jul-01 9:56
suss23-Jul-01 9:56 
GeneralRe: Monitoring Clipboard Pin
Michael Dunn23-Jul-01 10:28
sitebuilderMichael Dunn23-Jul-01 10:28 
GeneralInitial Update in CDialog Pin
23-Jul-01 9:12
suss23-Jul-01 9:12 
GeneralRe: Initial Update in CDialog Pin
Chris Losinger23-Jul-01 9:24
professionalChris Losinger23-Jul-01 9:24 
GeneralA simple question... Pin
23-Jul-01 9:11
suss23-Jul-01 9:11 
GeneralRe: A simple question... Pin
Chris Losinger23-Jul-01 9:23
professionalChris Losinger23-Jul-01 9:23 
GeneralI've tried it but... Pin
23-Jul-01 12:35
suss23-Jul-01 12:35 
look at this code:

...
HICON icon = ExtractAssociatedIcon(AfxGetInstanceHandle() , "D:\\file.fp", 0);
ASERT(icon==NULL)

static.Create(NULL, WS_CHILD|WS_VISIBLE|SS_ICON|SS_CENTERIMAGE, CRect(10,10,150,50), this);
static.SetIcon(icon);

...

static is CStatic variable.

i dont know why, but this code causes an error, the windows error message: "illigal operation" appears. and it happens only after i use this function....

have any ideas?
thanks
RG
GeneralRe: I've tried it but... Pin
Paolo Messina23-Jul-01 12:45
professionalPaolo Messina23-Jul-01 12:45 
GeneralRe: I've tried it but... Pin
Andrew Peace23-Jul-01 13:05
Andrew Peace23-Jul-01 13:05 
GeneralRe: I've tried it but... Pin
Reid23-Jul-01 13:37
Reid23-Jul-01 13:37 
GeneralRe: I've tried it but... Pin
Andrew Peace23-Jul-01 13:44
Andrew Peace23-Jul-01 13:44 
GeneralRe: I've tried it but... Pin
23-Jul-01 23:19
suss23-Jul-01 23:19 
GeneralMovable toolbar buttons Pin
Jake Palmer23-Jul-01 8:58
Jake Palmer23-Jul-01 8:58 
GeneralRe: Movable toolbar buttons Pin
Paolo Messina23-Jul-01 12:52
professionalPaolo Messina23-Jul-01 12:52 
Generalmakefile file format Pin
Nikhil Dabas23-Jul-01 8:35
Nikhil Dabas23-Jul-01 8:35 
QuestionAre there is a function that return the current time in 12 BYTE ? Pin
23-Jul-01 8:21
suss23-Jul-01 8:21 
AnswerRe: Are there is a function that return the current time in 12 BYTE ? Pin
Michael Dunn23-Jul-01 10:31
sitebuilderMichael Dunn23-Jul-01 10:31 
GeneralConverting COLeDateTime Pin
23-Jul-01 8:19
suss23-Jul-01 8:19 
GeneralRe: Converting COLeDateTime Pin
Ben Burnett23-Jul-01 19:16
Ben Burnett23-Jul-01 19:16 
Generallibpng 16 Color Pin
23-Jul-01 7:50
suss23-Jul-01 7:50 
GeneralWMI Security Problem... Pin
Mario M.23-Jul-01 7:43
Mario M.23-Jul-01 7:43 
QuestionHow to change edit portion of CComboBox based on selection Pin
23-Jul-01 7:11
suss23-Jul-01 7:11 
GeneralCEdit Control Problem - Bkgr color Pin
Gerry23-Jul-01 6:50
Gerry23-Jul-01 6:50 
GeneralRe: CEdit Control Problem - Bkgr color Pin
23-Jul-01 17:25
suss23-Jul-01 17:25 

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.