Search:
Type: Posts; User: Sparsh_21j
Search:
Search took 0.02 seconds.
-
July 24th, 2020, 05:42 AM
-
July 24th, 2020, 03:51 AM
Yes victor i agree with you , i guess it belongs to CFrameWndEx , so problem is i want to make this strip color White
-
July 24th, 2020, 03:35 AM
Please see an updated image......
-
July 23rd, 2020, 08:28 AM
I derived a class from CMFCTOolBar and uses function OnFillBackground , i was successfully able to color the background behind the bitmap to white but remaining strip is still grey.image is attached...
-
June 19th, 2020, 11:01 AM
-
June 18th, 2020, 07:49 AM
I tried drilling down it and found that as soon as i declare button as CMFCBUTTON in .h file and compile code than font is not reflected. On other side if i dont declare it as CMFCBUTTON ,font gets...
-
June 18th, 2020, 06:28 AM
-
June 18th, 2020, 05:34 AM
-
June 18th, 2020, 03:00 AM
I have the following code in .rc file
FONT 12, "MS Shell Dlg"
This code successfully sets the font of text inside the dialog(CDialog) to specifed face type but the font of text of buttons...
-
I have the following code:
bool var;
m_button.EnableWindow(var);
If(var)
{
m_button.SetFaceColor((RGB(0,255,0),true);
m_button.SetTextColor((RGB(255,255,255)));
}
-
October 9th, 2019, 10:21 PM
{hwnd=0x000000000a3 {unused=???}}
-
October 8th, 2019, 09:18 PM
Visual Studio 2015.I think code posted above is compilable?
-
October 8th, 2019, 12:31 PM
//----------------------------------------------------------------//
//Below is the code for .cpp file
//----------------------------------------------------------------//
//MyPropertySheet.cpp...
-
October 8th, 2019, 12:19 PM
-
October 8th, 2019, 12:19 PM
Real code in sense? I have pasted exact line to line code.....which else real code?
-
October 8th, 2019, 12:09 PM
//----------------------------------------------------------------//
//Below is the code for .cpp file
//----------------------------------------------------------------//
//MyPropertySheet.cpp
...
-
October 8th, 2019, 11:29 AM
-
October 8th, 2019, 11:08 AM
GCDEF I tried what you said but unfortunately it didn't changed the color,instead after that my button became invisible but clickable
-
October 8th, 2019, 04:40 AM
So were you able to see the color change of button? Image attached is not getting opened
-
October 8th, 2019, 03:44 AM
Victor ,you may see compilation errors coz i am writing manually ,i cant copy paste as it is due to some norms..But code is 100% compilable and i have shared both cpp and header files above with...
-
October 8th, 2019, 03:42 AM
Yes Arjay it sets the button text to OKAY,even button font is also getting bold if i use CFont concept,even position of button is also changing if i use Movewindow..Only thing and most painful for me...
-
October 7th, 2019, 04:29 AM
//----------------------------------------------------------------//
//Below is the code for .cpp file
//----------------------------------------------------------------//
//MyPropertySheet.cpp
...
-
October 3rd, 2019, 11:22 AM
Bool is the return type of OnInitDialog() method // declared in header file i.e MyPropertysheet.h
Void is returne type of DoDataExchange() method //declared in header file i.e MyPropertysheet.h...
-
October 1st, 2019, 04:16 AM
Yes its CMFCButton but please i am here looking for solution ,please tell that.already told you code is compiling successfully but not reflecting result by using setfacecolor() .if you can help than...
-
October 1st, 2019, 02:10 AM
Ok arjay i will try that.bdw i have one button there on property page already and i am able to change its background color using setfacecolor() .You want me to add one new button on this propertypage...
|
Click Here to Expand Forum to Full Width
|