Click here to Skip to main content
16,006,065 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to write this code using IFileOperation in Vista Pin
Mustanseer M S28-Apr-08 0:29
Mustanseer M S28-Apr-08 0:29 
QuestionRe: How to write this code using IFileOperation in Vista Pin
David Crow28-Apr-08 4:26
David Crow28-Apr-08 4:26 
GeneralRe: How to write this code using IFileOperation in Vista Pin
Mustanseer M S28-Apr-08 17:55
Mustanseer M S28-Apr-08 17:55 
QuestionRe: How to write this code using IFileOperation in Vista Pin
David Crow29-Apr-08 3:29
David Crow29-Apr-08 3:29 
GeneralRe: How to write this code using IFileOperation in Vista Pin
Mustanseer M S29-Apr-08 3:39
Mustanseer M S29-Apr-08 3:39 
GeneralRe: How to write this code using IFileOperation in Vista Pin
Ștefan-Mihai MOGA2-Dec-11 2:39
professionalȘtefan-Mihai MOGA2-Dec-11 2:39 
GeneralCMenu DeleteMenu() Pin
RockyJames28-Apr-08 0:29
RockyJames28-Apr-08 0:29 
QuestionRe: CMenu DeleteMenu() Pin
CPallini28-Apr-08 0:40
mveCPallini28-Apr-08 0:40 
From MSDN [^]:

MF_BYCOMMAND
Identifies menu item position by command.
[...]

MF_BYPOSITION
Identifies menu item position by zero-based relative position.
[...]

i.e. if you need to access the menu via its ID (like, for instance, IDM_EXIT) then you have to specify MF_BYCOMMAND. Viceversa, if you want to specify the menu item via its position inside the menu then use MF_BYPOSITION)
Is it clear enough?
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralFile in Append Mode Pin
john563228-Apr-08 0:11
john563228-Apr-08 0:11 
GeneralRe: File in Append Mode Pin
Jhony george28-Apr-08 0:21
Jhony george28-Apr-08 0:21 
GeneralRe: File in Append Mode Pin
CPallini28-Apr-08 0:24
mveCPallini28-Apr-08 0:24 
GeneralRe: File in Append Mode Pin
Hamid_RT29-Apr-08 1:47
Hamid_RT29-Apr-08 1:47 
JokeRe: File in Append Mode Pin
Nelek29-Apr-08 4:24
protectorNelek29-Apr-08 4:24 
GeneralRe: File in Append Mode Pin
Hamid_RT29-Apr-08 5:40
Hamid_RT29-Apr-08 5:40 
GeneralRe: File in Append Mode Pin
Nelek7-May-08 11:46
protectorNelek7-May-08 11:46 
GeneralRe: File in Append Mode Pin
Hamid_RT7-May-08 18:20
Hamid_RT7-May-08 18:20 
GeneralRe: File in Append Mode Pin
Nelek8-May-08 12:35
protectorNelek8-May-08 12:35 
Generalmessage handling for a popup window Pin
misha_grewal27-Apr-08 23:56
misha_grewal27-Apr-08 23:56 
GeneralRe: message handling for a popup window [modified] Pin
Rajkumar R28-Apr-08 4:00
Rajkumar R28-Apr-08 4:00 
GeneralRe: message handling for a popup window Pin
misha_grewal28-Apr-08 19:12
misha_grewal28-Apr-08 19:12 
GeneralRe: message handling for a popup window [modified] Pin
Rajkumar R28-Apr-08 20:10
Rajkumar R28-Apr-08 20:10 
Questioncan anybody tell me where a static variable get stored in memory Pin
Deepu Antony27-Apr-08 23:36
Deepu Antony27-Apr-08 23:36 
AnswerRe: can anybody tell me where a static variable get stored in memory Pin
Naveen28-Apr-08 0:04
Naveen28-Apr-08 0:04 
GeneralCode behind ::SetFocus(m_hWndFocus) Pin
baerten27-Apr-08 23:24
baerten27-Apr-08 23:24 
GeneralRe: Code behind ::SetFocus(m_hWndFocus) Pin
Saurabh.Garg27-Apr-08 23:38
Saurabh.Garg27-Apr-08 23:38 

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.