Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sure you can :) Pin
bikram singh15-Jun-04 6:18
bikram singh15-Jun-04 6:18 
GeneralRe: Nice discussion point ? Pin
Nitron15-Jun-04 3:16
Nitron15-Jun-04 3:16 
GeneralRe: Nice discussion point ? Pin
toxcct15-Jun-04 3:30
toxcct15-Jun-04 3:30 
GeneralRe: Nice discussion point ? Pin
Nitron15-Jun-04 6:30
Nitron15-Jun-04 6:30 
GeneralRe: Nice discussion point ? Pin
David Crow15-Jun-04 5:07
David Crow15-Jun-04 5:07 
GeneralRe: Nice discussion point ? Pin
bikram singh15-Jun-04 11:57
bikram singh15-Jun-04 11:57 
AnswerRe: Nice discussion point ? Pin
Tim Smith15-Jun-04 3:52
Tim Smith15-Jun-04 3:52 
GeneralMsFlexGrid and CDialogBar Pin
Anonymous14-Jun-04 22:56
Anonymous14-Jun-04 22:56 
I've a got a problem using a MsFlexGrid control in a CDialogBar window.
I've developed a new class derived from CDialogBar in order to manage the DialogBar window.
My project is a MDI and the instance of my class (derived from CDialogBar) belongs to CMainFrame class.

My problem is the following:
- the MsFlexGrid control doesn't receive any user interface event (scroll up, scroll down, onbutton, and so on....). When the main window is shown, and the DialogBar is shown within it, the user can't manage the MsFlexGrid control: in example, clicking on scroll bar buttons doesn't have any effect.

I think I need to write some code in CMainFrame class in order to let it map all MsFlexGrid control windows messages, but I don't know how to do it !
I'm able to do it for other controls like buttons, listboxes and so on... but I think is not the same for MsFlexGrid. For that kind of controls I use the following code in CMainFrame:

BEGIN_MESSAGE_MAP(CMainFrame, CMDIFrameWnd)<br />
ON_BN_CLICKED(IDC_BTN_MY_BUTTON, CDlgbarMyDialogBar::OnBtnMyButton)<br />
//}}AFX_MSG_MAP<br />
END_MESSAGE_MAP()



But I'm almost sure it is not the same for the MSFlexgrid. By the way I don't need to write any code to let a listbox work in a CDialogBar...

so, can someone help me ?

Thank you very much !
GeneralGetting (x,y) Coords of MSChart Pin
Member 97062114-Jun-04 22:37
Member 97062114-Jun-04 22:37 
GeneralScroll view &amp; Print preview Pin
Nelson L.14-Jun-04 22:05
Nelson L.14-Jun-04 22:05 
GeneralDrawCli Pin
Arun AC14-Jun-04 21:01
Arun AC14-Jun-04 21:01 
QuestionHow to stream (send) a Video on a Network Pin
Zeeshan Bilal14-Jun-04 20:12
Zeeshan Bilal14-Jun-04 20:12 
AnswerRe: How to stream (send) a Video on a Network Pin
Vadim Tabakman14-Jun-04 20:36
Vadim Tabakman14-Jun-04 20:36 
GeneralRe: How to stream (send) a Video on a Network Pin
Zeeshan Bilal14-Jun-04 21:53
Zeeshan Bilal14-Jun-04 21:53 
AnswerRe: How to stream (send) a Video on a Network Pin
Un121-Aug-04 5:55
Un121-Aug-04 5:55 
GeneralWin CE DialogBar Pin
S.DARWIN PAUL RAJ14-Jun-04 20:06
S.DARWIN PAUL RAJ14-Jun-04 20:06 
GeneralScrolling in windows Pin
Member 80176914-Jun-04 20:06
Member 80176914-Jun-04 20:06 
GeneralRe: Scrolling in windows Pin
Vadim Tabakman14-Jun-04 20:35
Vadim Tabakman14-Jun-04 20:35 
QuestionHelp in tabbed dialogs?? Pin
Lakshmi Priya Musuvathy14-Jun-04 20:02
Lakshmi Priya Musuvathy14-Jun-04 20:02 
AnswerRe: Help in tabbed dialogs?? Pin
David Crow15-Jun-04 2:34
David Crow15-Jun-04 2:34 
Generaldifference b/w C and C++ Pin
saurabh190514-Jun-04 19:32
saurabh190514-Jun-04 19:32 
GeneralRe: difference b/w C and C++ Pin
Vadim Tabakman14-Jun-04 19:39
Vadim Tabakman14-Jun-04 19:39 
GeneralRe: difference b/w C and C++ Pin
Maxwell Chen14-Jun-04 20:04
Maxwell Chen14-Jun-04 20:04 
GeneralRe: difference b/w C and C++ Pin
V.14-Jun-04 21:54
professionalV.14-Jun-04 21:54 
GeneralRe: difference b/w C and C++ Pin
David Crow15-Jun-04 2:40
David Crow15-Jun-04 2:40 

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.