Click here to Skip to main content
15,900,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnicode string hash Pin
Bartosz Bien2-Sep-07 6:52
Bartosz Bien2-Sep-07 6:52 
AnswerRe: Unicode string hash Pin
cmk2-Sep-07 7:55
cmk2-Sep-07 7:55 
Questioncurve length Pin
includeh102-Sep-07 6:14
includeh102-Sep-07 6:14 
AnswerRe: curve length Pin
Anurag Gandhi2-Sep-07 20:32
professionalAnurag Gandhi2-Sep-07 20:32 
AnswerRe: curve length Pin
Russell'3-Sep-07 1:16
Russell'3-Sep-07 1:16 
Questioncan you help me with a program that can do numerical methods? Pin
mitsui582-Sep-07 2:26
mitsui582-Sep-07 2:26 
AnswerRe: can you help me with a program that can do numerical methods? [modified] Pin
mitsui583-Sep-07 1:30
mitsui583-Sep-07 1:30 
QuestionCBitmapButton mouseover change bitmap? (vc++ 6.0) Pin
rolfhorror2-Sep-07 2:05
rolfhorror2-Sep-07 2:05 
hi, im sure this question is a regular one.
i'm making an app with bitmapbuttons and want to change bitmap on the button when hovering over them
can't seem to find any good articles about this subject.
heres a code i've been trying out, cant seem to get it to work.

//loaded the default button bitmaps in
OnInitDialog()
m_btn1.LoadBitmaps(IDB_MYBUTTON_DEFAULT);
//this works and sets the bitmaps on my buttons

//something like this is what i want to do

void CMyDlg::OnMouseMove(UINT nFlags, CPoint point)
{
CRect m_Rect;
m_btn1.GetWindowRect(m_Rect);
if (m_Rect.PtInRect(point))
{
//when mouse is over button change to this bitmap
m_btn1.LoadBitmaps(IDB_MYBUTTON_OVER);
}
}

any solutions?
tanx Smile | :)

AnswerRe: CBitmapButton mouseover change bitmap? (vc++ 6.0) Pin
Mark Salsbery2-Sep-07 9:50
Mark Salsbery2-Sep-07 9:50 
GeneralRe: CBitmapButton mouseover change bitmap? (vc++ 6.0) Pin
rolfhorror2-Sep-07 10:35
rolfhorror2-Sep-07 10:35 
QuestionI have a question about retrieve a window handle at mouse position. Pin
tmay_992-Sep-07 0:32
tmay_992-Sep-07 0:32 
AnswerRe: I have a question about retrieve a window handle at mouse position. Pin
bob169722-Sep-07 5:00
bob169722-Sep-07 5:00 
GeneralRe: I have a question about retrieve a window handle at mouse position. Pin
tmay_992-Sep-07 11:21
tmay_992-Sep-07 11:21 
GeneralRe: I have a question about retrieve a window handle at mouse position. Pin
bob169722-Sep-07 13:37
bob169722-Sep-07 13:37 
GeneralRe: I have a question about retrieve a window handle at mouse position. Pin
bob169722-Sep-07 13:41
bob169722-Sep-07 13:41 
GeneralRe: I have a question about retrieve a window handle at mouse position. Pin
bob169722-Sep-07 13:48
bob169722-Sep-07 13:48 
GeneralRe: I have a question about retrieve a window handle at mouse position. Pin
tmay_992-Sep-07 14:29
tmay_992-Sep-07 14:29 
QuestionProblems with the OEM/DOS Font "Terminal" in an RTF View Pin
CrocodileBuck1-Sep-07 23:22
CrocodileBuck1-Sep-07 23:22 
AnswerRe: Problems with the OEM/DOS Font "Terminal" in an RTF View Pin
CrocodileBuck1-Sep-07 23:41
CrocodileBuck1-Sep-07 23:41 
QuestionVisual Studio Express on a disc? Pin
devvvy1-Sep-07 20:54
devvvy1-Sep-07 20:54 
AnswerRe: Visual Studio Express on a disc? Pin
Christian Graus2-Sep-07 9:02
protectorChristian Graus2-Sep-07 9:02 
GeneralRe: Visual Studio Express on a disc? Pin
devvvy2-Sep-07 15:10
devvvy2-Sep-07 15:10 
AnswerRe: Visual Studio Express on a disc? Pin
Mark Salsbery2-Sep-07 9:56
Mark Salsbery2-Sep-07 9:56 
GeneralRe: Visual Studio Express on a disc? Pin
devvvy2-Sep-07 16:56
devvvy2-Sep-07 16:56 
QuestionCOM data sharing Pin
George_George1-Sep-07 19:18
George_George1-Sep-07 19:18 

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.