Click here to Skip to main content
15,881,424 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Temporary disable text edit change event? Pin
Vaclav_13-Jun-11 10:49
Vaclav_13-Jun-11 10:49 
Questionhow to implement OnPaint() in activex control Pin
rjkg13-Jun-11 1:53
rjkg13-Jun-11 1:53 
AnswerRe: how to implement OnPaint() in activex control Pin
Adam Roderick J13-Jun-11 2:00
Adam Roderick J13-Jun-11 2:00 
AnswerRe: how to implement OnPaint() in activex control Pin
ScottMcP13-Jun-11 11:24
ScottMcP13-Jun-11 11:24 
Question":" in struct Pin
Pranit Kothari12-Jun-11 23:15
Pranit Kothari12-Jun-11 23:15 
AnswerRe: ":" in struct Pin
వేంకటనారాయణ(venkatmakam)12-Jun-11 23:24
వేంకటనారాయణ(venkatmakam)12-Jun-11 23:24 
AnswerRe: ":" in struct Pin
Malli_S13-Jun-11 1:25
Malli_S13-Jun-11 1:25 
QuestionWrong icon on title bar Pin
Lianqing12-Jun-11 6:15
Lianqing12-Jun-11 6:15 
I'm developing a win32 application with Visual Studio 2008 on Windows Vista. I specify the iron resource in the resource file:
IDI_MEXPLORER ICON DISCARDABLE "..\\resource\\icon\\mexplorer.ico"

However, I get a generic application icon on my title bar. What's weird is that it is ONLY in the title bar where I get the generic icon. In the taskbar, Windows explorer, and in the desktop shortcut, the icon is the correct one.

The code that load the icon is:

WNDCLASS wndclass;

hInst = hInstance;

wndclass.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS | CS_OWNDC;
wndclass.lpfnWndProc = WndProc;
wndclass.cbClsExtra = 0;
wndclass.cbWndExtra = 0;
wndclass.hInstance = hInstance;
wndclass.hIcon = LoadIcon(NULL, MAKEINTRESOURCE(IDI_MEXPLORER));
wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
wndclass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
wndclass.lpszMenuName = szAppName;
wndclass.lpszClassName = szAppName;
AnswerRe: Wrong icon on title bar Pin
Luc Pattyn12-Jun-11 7:06
sitebuilderLuc Pattyn12-Jun-11 7:06 
AnswerRe: Wrong icon on title bar Pin
MicroVirus13-Jun-11 7:45
MicroVirus13-Jun-11 7:45 
QuestionWSARecv and recv Pin
csrss12-Jun-11 2:54
csrss12-Jun-11 2:54 
QuestionIs it possible to make an application to show a modeless dialog and wait there(without executing the next statement) until the modeless dialog is closed Pin
manoharbalu10-Jun-11 19:54
manoharbalu10-Jun-11 19:54 
AnswerRe: Is it possible to make an application to show a modeless dialog and wait there(without executing the next statement) until the modeless dialog is closed Pin
Richard MacCutchan10-Jun-11 22:53
mveRichard MacCutchan10-Jun-11 22:53 
QuestionHow to disable a button control in a modal dialog Pin
manoharbalu10-Jun-11 19:51
manoharbalu10-Jun-11 19:51 
AnswerRe: How to disable a button control in a modal dialog Pin
Richard MacCutchan10-Jun-11 22:52
mveRichard MacCutchan10-Jun-11 22:52 
AnswerRe: How to disable a button control in a modal dialog Pin
Albert Holguin12-Jun-11 17:13
professionalAlbert Holguin12-Jun-11 17:13 
QuestionGantt chart Pin
Jokcy10-Jun-11 16:22
Jokcy10-Jun-11 16:22 
AnswerRe: Gantt chart Pin
Richard MacCutchan10-Jun-11 22:50
mveRichard MacCutchan10-Jun-11 22:50 
GeneralRe: Gantt chart Pin
Jokcy17-Jun-11 2:56
Jokcy17-Jun-11 2:56 
AnswerRe: Gantt chart Pin
Cedric Moonen13-Jun-11 0:02
Cedric Moonen13-Jun-11 0:02 
GeneralRe: Gantt chart Pin
Jokcy17-Jun-11 2:55
Jokcy17-Jun-11 2:55 
AnswerRe: Gantt chart Pin
ThatsAlok13-Jun-11 20:51
ThatsAlok13-Jun-11 20:51 
GeneralRe: Gantt chart Pin
Jokcy17-Jun-11 2:58
Jokcy17-Jun-11 2:58 
Question[Win32]Scroll bitmap Pin
Member 296547110-Jun-11 12:47
Member 296547110-Jun-11 12:47 
AnswerRe: [Win32]Scroll bitmap Pin
Mark Salsbery10-Jun-11 16:44
Mark Salsbery10-Jun-11 16:44 

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.