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

C / C++ / MFC

 
Questionhow to move bitmap using mouse cursor Pin
happy_ram11-Jun-06 20:54
happy_ram11-Jun-06 20:54 
AnswerRe: how to move bitmap using mouse cursor Pin
Viorel.11-Jun-06 21:28
Viorel.11-Jun-06 21:28 
GeneralRe: how to move bitmap using mouse cursor Pin
happy_ram11-Jun-06 21:42
happy_ram11-Jun-06 21:42 
GeneralRe: how to move bitmap using mouse cursor Pin
Viorel.11-Jun-06 22:04
Viorel.11-Jun-06 22:04 
GeneralRe: how to move bitmap using mouse cursor Pin
happy_ram11-Jun-06 22:24
happy_ram11-Jun-06 22:24 
Questionkeyword 'static' Pin
namaskaaram11-Jun-06 20:51
namaskaaram11-Jun-06 20:51 
JokeRe: keyword 'static' Pin
happy_ram11-Jun-06 20:56
happy_ram11-Jun-06 20:56 
AnswerRe: keyword 'static' Pin
Eytukan11-Jun-06 21:30
Eytukan11-Jun-06 21:30 
I could guess your question. Static and private has totally different meanings. when you declare a variable private but not static, it means that it can be used within the same class. It cannot be accessed by other members(may be another class). and more importantly, every time an Object is instantiated, a new instance of the variable is created. But when you declare a varible private and also static. It's all the same but the last point, which when new objects are created, it's not instantiated anew, rather all objects share the variable. and when you want to access it, you cannot use the . or the -> operator, you should use the :: operator with the class name preceeding it. now you get it? note, you cannot put "static" in the private,protected,public list. it can coexist with all the three Wink | ;)




<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--

[My Current Status]

GeneralRe: keyword 'static' Pin
namaskaaram11-Jun-06 22:33
namaskaaram11-Jun-06 22:33 
AnswerRe: keyword 'static' Pin
Eytukan11-Jun-06 22:38
Eytukan11-Jun-06 22:38 
GeneralRe: keyword 'static' Pin
namaskaaram11-Jun-06 22:51
namaskaaram11-Jun-06 22:51 
AnswerRe: keyword 'static' Pin
toxcct11-Jun-06 21:33
toxcct11-Jun-06 21:33 
GeneralRe: keyword 'static' Pin
namaskaaram11-Jun-06 22:34
namaskaaram11-Jun-06 22:34 
AnswerRe: keyword 'static' Pin
Michael Dunn11-Jun-06 21:37
sitebuilderMichael Dunn11-Jun-06 21:37 
GeneralRe: keyword 'static' Pin
namaskaaram11-Jun-06 22:34
namaskaaram11-Jun-06 22:34 
QuestionRe: keyword 'static' Pin
David Crow12-Jun-06 3:17
David Crow12-Jun-06 3:17 
GeneralRe: keyword 'static' Pin
Michael Dunn12-Jun-06 6:38
sitebuilderMichael Dunn12-Jun-06 6:38 
AnswerRe: keyword 'static' Pin
David Crow12-Jun-06 3:13
David Crow12-Jun-06 3:13 
Questionhow to change the icon in title bar in sdi app. Pin
GANsJob11-Jun-06 20:48
GANsJob11-Jun-06 20:48 
AnswerRe: how to change the icon in title bar in sdi app. Pin
nm_11411-Jun-06 21:02
nm_11411-Jun-06 21:02 
GeneralRe: how to change the icon in title bar in sdi app. Pin
GANsJob11-Jun-06 21:30
GANsJob11-Jun-06 21:30 
AnswerRe: how to change the icon in title bar in sdi app. Pin
Anton Mikhalyov11-Jun-06 21:12
Anton Mikhalyov11-Jun-06 21:12 
GeneralRe: how to change the icon in title bar in sdi app. Pin
GANsJob11-Jun-06 21:36
GANsJob11-Jun-06 21:36 
AnswerRe: how to change the icon in title bar in sdi app. Pin
Eytukan11-Jun-06 21:38
Eytukan11-Jun-06 21:38 
GeneralRe: how to change the icon in title bar in sdi app. Pin
GANsJob11-Jun-06 22:12
GANsJob11-Jun-06 22:12 

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.