Click here to Skip to main content
16,005,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMSHTML parsing error Pin
luda12-Feb-05 2:51
luda12-Feb-05 2:51 
GeneralRe: MSHTML parsing error Pin
ThatsAlok12-Feb-05 6:49
ThatsAlok12-Feb-05 6:49 
GeneralRe: MSHTML parsing error Pin
luda12-Feb-05 7:01
luda12-Feb-05 7:01 
GeneralRe: MSHTML parsing error Pin
ThatsAlok12-Feb-05 15:29
ThatsAlok12-Feb-05 15:29 
GeneralProblem trying to Advise Pin
djavanci12-Feb-05 2:18
djavanci12-Feb-05 2:18 
GeneralArray question Pin
jw8112-Feb-05 2:04
jw8112-Feb-05 2:04 
GeneralRe: Array question Pin
ThatsAlok12-Feb-05 2:15
ThatsAlok12-Feb-05 2:15 
GeneralRe: Array question Pin
Emilio Garavaglia12-Feb-05 5:18
Emilio Garavaglia12-Feb-05 5:18 
ThatsAlok wrote:
now to solve this problem with either declare it in global or make it local to class which handlling you onmousemove function rather declarign it in function

Or ... let it where it is now, but declare it as static.

By the "lifetime" point of view, global or static is mostly the same.
Declare it as class member will let every calss instance hace its own.

That is: if yor class is used to handle many windows and you want each one to have its own counter, make it a class member.
If you want a same single counter to count everything in all instances, declare it as static. In the function if only that function use it; In the class if many function class use it; globally if you have to access it from everywhere.






2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:

GeneralRe: Array question Pin
ThatsAlok12-Feb-05 6:44
ThatsAlok12-Feb-05 6:44 
GeneralRe: Array question Pin
jw8112-Feb-05 15:37
jw8112-Feb-05 15:37 
GeneralRe: Array question Pin
Hamed Musavi12-Feb-05 11:26
Hamed Musavi12-Feb-05 11:26 
GeneralRe: Array question Pin
tttyip13-Feb-05 3:53
tttyip13-Feb-05 3:53 
Generalserial port programming Pin
Oriented12-Feb-05 0:29
Oriented12-Feb-05 0:29 
GeneralRe: serial port programming Pin
ThatsAlok12-Feb-05 0:53
ThatsAlok12-Feb-05 0:53 
QuestionHow to create splashwindow on MFC? Pin
bilas12-Feb-05 0:27
bilas12-Feb-05 0:27 
AnswerRe: How to create splashwindow on MFC? Pin
ThatsAlok12-Feb-05 0:48
ThatsAlok12-Feb-05 0:48 
GeneralRe: How to create splashwindow on MFC? Pin
V.G12-Feb-05 1:53
V.G12-Feb-05 1:53 
GeneralRe: How to create splashwindow on MFC? Pin
bilas12-Feb-05 1:57
bilas12-Feb-05 1:57 
GeneralRe: How to create splashwindow on MFC? Pin
V.G12-Feb-05 2:00
V.G12-Feb-05 2:00 
GeneralRe: How to create splashwindow on MFC? Pin
bilas12-Feb-05 2:11
bilas12-Feb-05 2:11 
GeneralRe: How to create splashwindow on MFC? Pin
Anonymous14-Feb-05 1:14
Anonymous14-Feb-05 1:14 
Generalquestion about Serialize Pin
Anonymous12-Feb-05 0:21
Anonymous12-Feb-05 0:21 
GeneralRe: question about Serialize Pin
Bob Ciora12-Feb-05 4:01
Bob Ciora12-Feb-05 4:01 
GeneralRe: question about Serialize Pin
Ravi Bhavnani12-Feb-05 5:02
professionalRavi Bhavnani12-Feb-05 5:02 
Generalpointer to CMainFrame in CDocument Pin
blue178912-Feb-05 0:13
suss blue178912-Feb-05 0:13 

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.