Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to display popup menu when clicked on a button on a dialog box? Pin
SandipG 25-Nov-08 20:36
SandipG 25-Nov-08 20:36 
GeneralRe: how to display popup menu when clicked on a button on a dialog box? Pin
puppya25-Nov-08 21:05
puppya25-Nov-08 21:05 
AnswerRe: how to display popup menu when clicked on a button on a dialog box? Pin
Hamid_RT25-Nov-08 20:38
Hamid_RT25-Nov-08 20:38 
RantRe: how to display popup menu when clicked on a button on a dialog box? Pin
enhzflep25-Nov-08 20:40
enhzflep25-Nov-08 20:40 
QuestionOpen a .txt file with a press of a button in MFC Pin
AnithaSubramani25-Nov-08 20:20
AnithaSubramani25-Nov-08 20:20 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
enhzflep25-Nov-08 20:22
enhzflep25-Nov-08 20:22 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
Cedric Moonen25-Nov-08 20:26
Cedric Moonen25-Nov-08 20:26 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
Rajesh R Subramanian25-Nov-08 20:57
professionalRajesh R Subramanian25-Nov-08 20:57 
AnithaSubramani wrote:
Could someone please tell me how can i open a txt file with a press of a button (MFC)?


In Mumbai, we write an MFC program for that. The program will need a window with a button and the button will need a click-event handler. The handler should have code to "open" (whatever that means) the text file.

You probably will need to do something with what's stored within the opened file, but that's another question that you'll post.


It is a crappy thing, but it's life -^ Carlo Pallini

JokeRe: Open a .txt file with a press of a button in MFC Pin
CPallini25-Nov-08 21:28
mveCPallini25-Nov-08 21:28 
JokeRe: Open a .txt file with a press of a button in MFC Pin
Hamid_RT25-Nov-08 21:46
Hamid_RT25-Nov-08 21:46 
JokeRe: Open a .txt file with a press of a button in MFC Pin
Rajesh R Subramanian26-Nov-08 3:58
professionalRajesh R Subramanian26-Nov-08 3:58 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
Hamid_RT25-Nov-08 21:02
Hamid_RT25-Nov-08 21:02 
QuestionQuery regarding CMenu Pin
Rahul Vaishnav25-Nov-08 19:54
Rahul Vaishnav25-Nov-08 19:54 
AnswerRe: Query regarding CMenu Pin
Iain Clarke, Warrior Programmer26-Nov-08 0:32
Iain Clarke, Warrior Programmer26-Nov-08 0:32 
QuestionOnLButtonDown dosn't work in IE, but work in ActiveX Control Test Container ? Pin
oppstp25-Nov-08 19:49
oppstp25-Nov-08 19:49 
QuestionExport data in excel Pin
cpvc++25-Nov-08 19:14
cpvc++25-Nov-08 19:14 
AnswerRe: Export data in excel Pin
cpvc++25-Nov-08 20:49
cpvc++25-Nov-08 20:49 
AnswerRe: Export data in excel Pin
Hamid_RT25-Nov-08 21:00
Hamid_RT25-Nov-08 21:00 
AnswerRe: Export data in excel Pin
sutm25-Nov-08 21:17
sutm25-Nov-08 21:17 
AnswerRe: Export data in excel Pin
Jijo.Raj26-Nov-08 7:16
Jijo.Raj26-Nov-08 7:16 
Questionabout anti virus software Pin
trioum25-Nov-08 18:43
trioum25-Nov-08 18:43 
AnswerRe: about anti virus software Pin
Hamid_RT25-Nov-08 19:09
Hamid_RT25-Nov-08 19:09 
GeneralRe: about anti virus software Pin
trioum25-Nov-08 21:05
trioum25-Nov-08 21:05 
GeneralRe: about anti virus software Pin
Hamid_RT25-Nov-08 21:22
Hamid_RT25-Nov-08 21:22 
GeneralRe: about anti virus software Pin
trioum25-Nov-08 23:15
trioum25-Nov-08 23:15 

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.