Click here to Skip to main content
15,400,433 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What design to use? Pin
gourishsio9-Jul-12 18:09
Membergourishsio9-Jul-12 18:09 
AnswerRe: What design to use? Pin
_Flaviu9-Jul-12 2:46
Member_Flaviu9-Jul-12 2:46 
GeneralRe: What design to use? Pin
gourishsio9-Jul-12 18:10
Membergourishsio9-Jul-12 18:10 
GeneralRe: What design to use? Pin
gourishsio10-Jul-12 18:14
Membergourishsio10-Jul-12 18:14 
QuestionC programming question Pin
Kotiexalter8-Jul-12 17:50
MemberKotiexalter8-Jul-12 17:50 
AnswerRe: C programming question Pin
«_Superman_»8-Jul-12 18:02
professional«_Superman_»8-Jul-12 18:02 
AnswerRe: C programming question Pin
Madhan Mohan Reddy P8-Jul-12 22:55
professionalMadhan Mohan Reddy P8-Jul-12 22:55 
QuestionHow to Get Event from Controls in Docking Dialog Pin
Member 21198448-Jul-12 1:27
MemberMember 21198448-Jul-12 1:27 
i have create Docking Dialog with CDialog

CDialogBar m_wndDlgBar;

in preCreateWindow

C++
if (!m_wndDlgBar.Create(this, IDD_COMMAND_WINDOW,
    WS_CHILD | WS_VISIBLE | CBRS_BOTTOM|CBRS_TOOLTIPS|CBRS_GRIPPER |CBRS_FLYBY| CBRS_SIZE_DYNAMIC, IDD_COMMAND_WINDOW))
{
   TRACE0("Failed to create DlgBar\n");
   return -1;      // Fail to create.
}
 m_wndDlgBar.EnableDocking (CBRS_ALIGN_BOTTOM   );
 EnableDocking(CBRS_ALIGN_BOTTOM   );
 DockControlBar(&m_wndDlgBar);


it Work fine. it display dialog with no error. but it does not give any event.

i have create Class ClsCommandWindow for IDD_COMMAND_WINDOW. in IDD_CCOMMAND_WINDOW i put 2 EditBox and one Button, one of Edit Box apply from Class CMyEdit because i have to use onChar Event.

now the DialogBar display dialog from it ID(IDD_CCOMMAND_WINDOW). with no use of Class. because it is not using class any event from that dialog box does not work.

When i TRACE ("%i\n",nChar); on OnChar it just did nothing.
please some one help me on this how to get event form that dialog box.
Thanks
Amrit
AnswerRe: How to Get Event from Controls in Docking Dialog Pin
Sunil P V10-Jul-12 0:05
MemberSunil P V10-Jul-12 0:05 
QuestionWhy is pointer a compound type, not a fundamental type? Pin
sawerr7-Jul-12 22:06
Membersawerr7-Jul-12 22:06 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
Richard MacCutchan7-Jul-12 23:20
mveRichard MacCutchan7-Jul-12 23:20 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
«_Superman_»8-Jul-12 3:20
professional«_Superman_»8-Jul-12 3:20 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
fat_boy8-Jul-12 4:03
Memberfat_boy8-Jul-12 4:03 
QuestionHow to receive data using dynamic array in recv api()? Pin
vanithavadivel7-Jul-12 0:13
Membervanithavadivel7-Jul-12 0:13 
AnswerRe: How to receive data using dynamic array in recv api()? Pin
Richard MacCutchan7-Jul-12 0:55
mveRichard MacCutchan7-Jul-12 0:55 
AnswerRe: How to receive data using dynamic array in recv()? Pin
Software_Developer7-Jul-12 23:28
MemberSoftware_Developer7-Jul-12 23:28 
QuestionC programming question Pin
Kotiexalter6-Jul-12 18:05
MemberKotiexalter6-Jul-12 18:05 
AnswerRe: C programming question Pin
Richard MacCutchan6-Jul-12 21:09
mveRichard MacCutchan6-Jul-12 21:09 
AnswerRe: C programming question Pin
Code-o-mat6-Jul-12 22:45
MemberCode-o-mat6-Jul-12 22:45 
GeneralRe: C programming question Pin
Richard MacCutchan7-Jul-12 0:48
mveRichard MacCutchan7-Jul-12 0:48 
GeneralRe: C programming question Pin
Code-o-mat7-Jul-12 9:04
MemberCode-o-mat7-Jul-12 9:04 
GeneralRe: C programming question Pin
Richard Andrew x647-Jul-12 10:55
professionalRichard Andrew x647-Jul-12 10:55 
GeneralRe: C programming question Pin
BCN-1637-Jul-12 16:24
MemberBCN-1637-Jul-12 16:24 
GeneralRe: C programming question Pin
Code-o-mat7-Jul-12 23:20
MemberCode-o-mat7-Jul-12 23:20 
AnswerRe: C programming question Pin
CPallini8-Jul-12 9:45
mveCPallini8-Jul-12 9:45 

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.