Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMenu dimensions? Pin
twomagiclovers14-May-02 5:34
twomagiclovers14-May-02 5:34 
AnswerRe: Menu dimensions? Pin
Roger Allen14-May-02 6:48
Roger Allen14-May-02 6:48 
GeneralCListCtrl LvnItemChanged() issues Pin
dazinith14-May-02 5:28
dazinith14-May-02 5:28 
GeneralRe: CListCtrl LvnItemChanged() issues Pin
Bill Wilson14-May-02 11:44
Bill Wilson14-May-02 11:44 
GeneralPrinting using gdi+ Pin
khaldoun14-May-02 5:13
khaldoun14-May-02 5:13 
GeneralDrawText and MM_HIMETRIC Pin
Braulio Dez14-May-02 5:12
Braulio Dez14-May-02 5:12 
GeneralRe: DrawText and MM_HIMETRIC Pin
David Salter14-May-02 9:24
David Salter14-May-02 9:24 
Generalmonthview control driving me mad Pin
benjymous14-May-02 5:08
benjymous14-May-02 5:08 
Is there anyone here who's used the monthview control in a dialog based application who can help me out with the problems I'm having (Using "Microsoft MonthView Control 6.0 (SP4)" using MFC and Visual C++ 6)

I'm not sure if either I'm doing something very wrong, or just this control is full of bugs.

Here are my problems:

1) If I display all 12 months, the days in the last month don't get displayed bold (they get set and unset correctly, and if I change the view to display that month anywhere bar the last displayed month it works fine) - My workaround to this is to just display 9 months and make the user flip back and forth to see the whole year (I predict complaints..)

2) The control grabs focus, meaning if I click on a date, then click on a button on the dialog, it just selects that button rather than clicking on it (1 click to deselect the monthview control, and a 2nd to actually click on the button I clicked on)

3) If I call my function that makes the days bold (using SetDayBold) from my OnInitDialog, the days don't get set bold. If I call it from a mouse click event then it works fine.

I've searched MSDN and found a VB workaround to problem 2, but it wasn't much help to me using C++

Any help will be much appreciated

--
Help me! I'm turning into a grapefruit!
Generalan interesting design prob...no...situation Pin
14-May-02 4:52
suss14-May-02 4:52 
GeneralRe: an interesting design prob...no...situation Pin
Joaquín M López Muñoz14-May-02 5:00
Joaquín M López Muñoz14-May-02 5:00 
QuestionMFC class sets ownerdraw style? Pin
14-May-02 4:50
suss14-May-02 4:50 
AnswerRe: MFC class sets ownerdraw style? Pin
14-May-02 6:17
suss14-May-02 6:17 
GeneralRe: MFC class sets ownerdraw style? Pin
Joel Lucsy14-May-02 8:05
Joel Lucsy14-May-02 8:05 
GeneralRe: MFC class sets ownerdraw style? Pin
14-May-02 21:07
suss14-May-02 21:07 
GeneralThunk - That's the sound of my head on the desk.... Pin
Kevin Gutteridge14-May-02 4:47
Kevin Gutteridge14-May-02 4:47 
GeneralRe: Thunk - That's the sound of my head on the desk.... Pin
Joao Vaz14-May-02 6:00
Joao Vaz14-May-02 6:00 
GeneralRe: Thunk - That's the sound of my head on the desk.... Pin
Kevin Gutteridge14-May-02 6:11
Kevin Gutteridge14-May-02 6:11 
GeneralRe: Thunk - That's the sound of my head on the desk.... Pin
Joao Vaz14-May-02 6:28
Joao Vaz14-May-02 6:28 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Joao Vaz14-May-02 6:43
Joao Vaz14-May-02 6:43 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Kevin Gutteridge14-May-02 6:56
Kevin Gutteridge14-May-02 6:56 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Kevin Gutteridge17-May-02 6:20
Kevin Gutteridge17-May-02 6:20 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Joao Vaz17-May-02 6:50
Joao Vaz17-May-02 6:50 
GeneralRe: Thunk - assembly code to call stdcall code Pin
Joao Vaz17-May-02 7:03
Joao Vaz17-May-02 7:03 
GeneralCListView MDI Pin
14-May-02 4:36
suss14-May-02 4:36 
GeneralRe: CListView MDI Pin
14-May-02 4:58
suss14-May-02 4:58 

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.