Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hide or remove toolbar buttons? Pin
Sean McKinnon28-Apr-05 5:22
Sean McKinnon28-Apr-05 5:22 
AnswerRe: hide or remove toolbar buttons? Pin
cmk29-Apr-05 21:04
cmk29-Apr-05 21:04 
GeneralRe: hide or remove toolbar buttons? Pin
Sean McKinnon2-May-05 4:30
Sean McKinnon2-May-05 4:30 
GeneralRe: hide or remove toolbar buttons? Pin
cmk2-May-05 10:10
cmk2-May-05 10:10 
GeneralRe: hide or remove toolbar buttons? Pin
Sean McKinnon2-May-05 10:27
Sean McKinnon2-May-05 10:27 
GeneralRe: hide or remove toolbar buttons? Pin
Sean McKinnon2-May-05 10:39
Sean McKinnon2-May-05 10:39 
GeneralRe: hide or remove toolbar buttons? Pin
Sean McKinnon2-May-05 10:58
Sean McKinnon2-May-05 10:58 
GeneralMousedown event on owner draw buttons Pin
Assariah kingsly28-Apr-05 3:41
Assariah kingsly28-Apr-05 3:41 
Hallo,
In MFC, I create owner draw buttons(CBitmapbutton class)and i want to hold the button pressed and it should do some action. I tried with the following code:

void userdefined::OnLButtonDown(UINT nFlags, CPoint point)
{
if(m_left.PtInRect(point))
{
AfxMessageBox("its working");

}

CDialog::OnLButtonDown(nFlags, point);
}

In the initdialog, I give the button's CRect parameters to the CRect m_left;..

I tried a lot.. & I really need your help guys ...

thanx in advance ..
kingsly


Assariah Kingsly
Masters in IAE (Bremen,Germany)
Basic VC++ programmer.
GeneralRe: Mousedown event on owner draw buttons Pin
Ravi Bhavnani28-Apr-05 8:52
professionalRavi Bhavnani28-Apr-05 8:52 
GeneralRe: Mousedown event on owner draw buttons Pin
Assariah kingsly30-Apr-05 9:44
Assariah kingsly30-Apr-05 9:44 
GeneralRe: Mousedown event on owner draw buttons Pin
Ravi Bhavnani30-Apr-05 10:10
professionalRavi Bhavnani30-Apr-05 10:10 
Questionhow can I use MFC in this project ? Pin
microsoftcertificate28-Apr-05 3:31
sussmicrosoftcertificate28-Apr-05 3:31 
AnswerRe: how can I use MFC in this project ? Pin
David Crow28-Apr-05 5:08
David Crow28-Apr-05 5:08 
GeneralRe: how can I use MFC in this project ? Pin
microsoftcertificate28-Apr-05 5:31
sussmicrosoftcertificate28-Apr-05 5:31 
GeneralRe: how can I use MFC in this project ? Pin
David Crow28-Apr-05 5:39
David Crow28-Apr-05 5:39 
Generalundefined keyword or key name: IDC_STATIC Pin
microsoftcertificate28-Apr-05 3:29
sussmicrosoftcertificate28-Apr-05 3:29 
GeneralRe: undefined keyword or key name: IDC_STATIC Pin
David Crow28-Apr-05 4:23
David Crow28-Apr-05 4:23 
GeneralRe: undefined keyword or key name: IDC_STATIC Pin
microsoftcertificate28-Apr-05 5:35
sussmicrosoftcertificate28-Apr-05 5:35 
GeneralRe: undefined keyword or key name: IDC_STATIC Pin
David Crow28-Apr-05 6:01
David Crow28-Apr-05 6:01 
GeneralON_NOTIFY and ON_NOTIFY_REFLECT Pin
nitin.rastogi28-Apr-05 3:05
nitin.rastogi28-Apr-05 3:05 
GeneralRe: ON_NOTIFY and ON_NOTIFY_REFLECT Pin
David Crow28-Apr-05 4:11
David Crow28-Apr-05 4:11 
GeneralRe: ON_NOTIFY and ON_NOTIFY_REFLECT Pin
nitin.rastogi28-Apr-05 20:17
nitin.rastogi28-Apr-05 20:17 
GeneralRe: ON_NOTIFY and ON_NOTIFY_REFLECT Pin
David Crow29-Apr-05 7:59
David Crow29-Apr-05 7:59 
GeneralUsing ADO Pin
brilliant10128-Apr-05 2:33
brilliant10128-Apr-05 2:33 
GeneralRe: Using ADO Pin
ThatsAlok28-Apr-05 2:38
ThatsAlok28-Apr-05 2:38 

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.