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

C / C++ / MFC

 
Questionclosing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 20:31
Dhiraj kumar Saini9-Nov-08 20:31 
AnswerRe: closing of a dialog box on button click problem! Pin
_AnsHUMAN_ 9-Nov-08 20:36
_AnsHUMAN_ 9-Nov-08 20:36 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 20:41
Dhiraj kumar Saini9-Nov-08 20:41 
GeneralRe: closing of a dialog box on button click problem! Pin
_AnsHUMAN_ 9-Nov-08 20:47
_AnsHUMAN_ 9-Nov-08 20:47 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 20:59
Dhiraj kumar Saini9-Nov-08 20:59 
GeneralRe: closing of a dialog box on button click problem! Pin
_AnsHUMAN_ 9-Nov-08 21:19
_AnsHUMAN_ 9-Nov-08 21:19 
GeneralRe: closing of a dialog box on button click problem! Pin
SandipG 9-Nov-08 21:26
SandipG 9-Nov-08 21:26 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 22:23
Dhiraj kumar Saini9-Nov-08 22:23 
Sorry to bother you again but i want to ask you one thing.
In my application there is a chat dialog box whose name is CChatDlg. In this box there is a button with text as emoticons. On click of this button I am opening a new dialog CEmoticonsDlg without any title bar just on top of the emoticons button. This new dialog box is having 16 emoticons placed as bmp images on a button as is in the case of messanger .

Now in the case when no emoticons is selected and the user clicks any arear outside the CEmoticons dialog I want the Dialog CEmoticons to be closed.

Right now what i am able to do is that i need to select a emoticon and and on click event of it i am closing the dialog box as a result of which i need to select a smiley.

So please help me as to in whcih class I have to use the above cod ewhich you have provided.
GeneralRe: closing of a dialog box on button click problem! Pin
enhzflep9-Nov-08 22:30
enhzflep9-Nov-08 22:30 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 22:50
Dhiraj kumar Saini9-Nov-08 22:50 
GeneralRe: closing of a dialog box on button click problem! Pin
enhzflep9-Nov-08 22:57
enhzflep9-Nov-08 22:57 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 23:05
Dhiraj kumar Saini9-Nov-08 23:05 
GeneralRe: closing of a dialog box on button click problem! Pin
Iain Clarke, Warrior Programmer10-Nov-08 0:00
Iain Clarke, Warrior Programmer10-Nov-08 0:00 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini10-Nov-08 0:52
Dhiraj kumar Saini10-Nov-08 0:52 
GeneralRe: closing of a dialog box on button click problem! Pin
Iain Clarke, Warrior Programmer10-Nov-08 1:20
Iain Clarke, Warrior Programmer10-Nov-08 1:20 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini10-Nov-08 2:00
Dhiraj kumar Saini10-Nov-08 2:00 
AnswerRe: closing of a dialog box on button click problem! Pin
David Crow10-Nov-08 3:23
David Crow10-Nov-08 3:23 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini10-Nov-08 18:14
Dhiraj kumar Saini10-Nov-08 18:14 
QuestionRe: closing of a dialog box on button click problem! Pin
David Crow11-Nov-08 3:23
David Crow11-Nov-08 3:23 
QuestionGet System Fixed Drive Pin
cpvc++9-Nov-08 18:47
cpvc++9-Nov-08 18:47 
AnswerRe: Get System Fixed Drive Pin
Hamid_RT9-Nov-08 20:16
Hamid_RT9-Nov-08 20:16 
QuestionRe: Get System Fixed Drive Pin
David Crow10-Nov-08 3:24
David Crow10-Nov-08 3:24 
QuestionHelp please Pin
dtaylor019-Nov-08 18:31
dtaylor019-Nov-08 18:31 
AnswerRe: Help please Pin
enhzflep9-Nov-08 19:11
enhzflep9-Nov-08 19:11 
AnswerRe: Help please Pin
Iain Clarke, Warrior Programmer9-Nov-08 22:02
Iain Clarke, Warrior Programmer9-Nov-08 22:02 

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.