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

C / C++ / MFC

 
GeneralRe: question regarding CListCtrl..... Pin
David Crow16-May-05 2:48
David Crow16-May-05 2:48 
GeneralForming Grid using Rectangles Pin
jinbabaj15-May-05 18:15
jinbabaj15-May-05 18:15 
GeneralRe: Forming Grid using Rectangles Pin
Ryan Binns15-May-05 18:28
Ryan Binns15-May-05 18:28 
GeneralRe: Forming Grid using Rectangles Pin
Blake Miller16-May-05 8:35
Blake Miller16-May-05 8:35 
GeneralRe: Forming Grid using Rectangles Pin
ucc80116-May-05 20:46
ucc80116-May-05 20:46 
GeneralQuestion: How can I create and show the MSOFFICE files from stream Pin
figer15-May-05 16:48
figer15-May-05 16:48 
GeneralHooking RegisterClassEx and dll question Pin
Kuniva15-May-05 12:45
Kuniva15-May-05 12:45 
GeneralRe: Hooking RegisterClassEx and dll question Pin
Ryan Binns15-May-05 18:43
Ryan Binns15-May-05 18:43 
Kuniva wrote:
My logical explanation would be that the registering of these classes is somehow global for the system and that its only done once at startup or whenever an app first uses them, but that seems kinda weird, cause then why would an app need to call InitCommonControls() each time before it can use them?

Classes are registered per application instance, and are unregistered when the application closes. InitCommonControls() loads the comctl32.dll library, which in turn registers the classes using RegisterClassEx(). Most apps these days use InitCommonControlsEx() and only register the classes that they require. InitCommonControlsEx() can be called multiple times, so IE might only be registering the classes as it needs them. Also, have you checked to see whether it is using the standard progress control and not its own variety?

Ryan
"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: Hooking RegisterClassEx and dll question Pin
Kuniva16-May-05 3:03
Kuniva16-May-05 3:03 
GeneralRe: Hooking RegisterClassEx and dll question Pin
Ryan Binns17-May-05 1:19
Ryan Binns17-May-05 1:19 
GeneralAsian scripts and DrawText(DT_CALCRECT) Pin
Jörgen Sigvardsson15-May-05 10:31
Jörgen Sigvardsson15-May-05 10:31 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Gary R. Wheeler15-May-05 13:54
Gary R. Wheeler15-May-05 13:54 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Anonymous15-May-05 20:11
Anonymous15-May-05 20:11 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Chris Richardson15-May-05 17:07
Chris Richardson15-May-05 17:07 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Anonymous15-May-05 20:12
Anonymous15-May-05 20:12 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Ryan Binns15-May-05 18:34
Ryan Binns15-May-05 18:34 
GeneralRe: Asian scripts and DrawText(DT_CALCRECT) Pin
Anonymous15-May-05 20:13
Anonymous15-May-05 20:13 
QuestionCan VC6 and a later version reside on the same machine? Pin
WREY15-May-05 9:39
WREY15-May-05 9:39 
AnswerRe: Can VC6 and a later version reside on the same machine? Pin
Jörgen Sigvardsson15-May-05 10:33
Jörgen Sigvardsson15-May-05 10:33 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
PJ Arends15-May-05 10:37
professionalPJ Arends15-May-05 10:37 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
WREY15-May-05 11:07
WREY15-May-05 11:07 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
Kevin McFarlane16-May-05 1:51
Kevin McFarlane16-May-05 1:51 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
WREY15-May-05 11:08
WREY15-May-05 11:08 
AnswerRe: Can VC6 and a later version reside on the same machine? Pin
Gary R. Wheeler15-May-05 14:08
Gary R. Wheeler15-May-05 14:08 
GeneralRe: Can VC6 and a later version reside on the same machine? Pin
WREY15-May-05 14:24
WREY15-May-05 14:24 

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.