-
January 30th, 2020, 03:03 AM
#1
Mouse Hovering changes the state of size of CMFC button
Requirement - Size of CMFC button should not change on mouse hovering
File.rc
PUSHBUTTON ">",IDC_A,2,2,2,2
Main.cpp
DDX_Control(pDx,IDC_A,m_button);
Main.h
CMFC m_button;
Can anyone help with this such that on mouse hovering the button size remain unmodified ?
-
January 30th, 2020, 03:31 AM
#2
Re: Mouse Hovering changes the state of size of CMFC button
Originally Posted by prernagupta171995
Requirement - Size of CMFC button should not change on mouse hovering
File.rc
PUSHBUTTON ">",IDC_A,2,2,2,2
Main.cpp
DDX_Control(pDx,IDC_A,m_button);
Main.h
CMFC m_button;
Can anyone help with this such that on mouse hovering the button size remain unmodified ?
1. What is CMFC class?
2. The button looks very small.
Victor Nijegorodov
-
January 30th, 2020, 06:34 AM
#3
Re: Mouse Hovering changes the state of size of CMFC button
Hi Victor,
1. Sorry typo error
Main.h
CMFCButton n_button;
2. Yeah width nd height were eg.
Actual the width & height is 22,11
-
January 30th, 2020, 08:55 AM
#4
Re: Mouse Hovering changes the state of size of CMFC button
Originally Posted by prernagupta171995
Hi Victor,
1. Sorry typo error
Main.h
CMFCButton n_button;
2. Yeah width nd height were eg.
Actual the width & height is 22,11
OK!
But how is the size of your CMFC button changed on mouse hovering? In my test dialog application the size is not changed only the button look changes.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|