Search:
Type: Posts; User: Beginner_MFC
Search:
Search took 0.02 seconds.
-
Able to load and open dialog . But background color is not reflected. I placed the breakpoint at OnChildNotify() but it is not called. I check DDX mapping ,there memory is allocated to MyCComboBox...
-
Yes i debugged. OnInitDialog() is not called. From where it is supposed to called there dlg.DoModal() is returning -1
-
-
I tried below code
// MyComboBox.h
#if !defined(AFX_MYCOMBOBOX_H__6C1728B4_F098_408B_919A_A8DA393AA426__INCLUDED_)
#define...
-
Any idea how to quickly change background color of CBS_DROPDOWNLIST CComboBox to white. since CBS_DROPDOWN has white background, i also want CBS_DROPDOWNLIST to have white background.
-
[Resolved]. I was missing #include afxdisp.h and #include sdkddkver.h in STDAFX.H
-
Inspite of targerver.h i simply added sdkddkver.h .code compiled successfully but still no flat style achieved. I compared .rc, .h with the newly created mfc application dialog all seems fine......
-
Victor i tried create new MFC application to check actual issue. When i created new MFC application(project) and a simple dialog in it through resource editor .i found that after compilation i find...
-
Just a quick question. I am able to achieve flat editbox through CreateEx already discussed in previous thread.But question here again is why i am not able to achieve it resource editor although...
-
Passing right parameters to CRect (left, top,right,bottom) resolved it. Width = right - left , Height = bottom- top.
-
Yes i solved editbox problem by passing correct parameters in CRect()
-
I have below code
CStatic *text = new CStaic ;
CRect textrect(10,20,70,50);
MapDialogRect(&tectrect);
text -> Create(name.data(),WS_CHILD | WS_VISIBLE | SS_RIGHT,textrect,this);
-
Visual studio 2015..I have turned client edge off
-
If u will use the resource editor ,than edit box will look fine there but as soon as you will compile and see dialog on screen than sunken raised rdge(WS_EX_CLIENTEDGE) will be seen in CEdit.thats...
-
CRect is taking (int l, int t, int r , int b).. from resource editor how can i do CreareEx()?
-
Hitting my trials since last 1 day, but not able to see CEdit on Screen. Below is the code of .rc file
IDD_DIALOG_M 0,0,283,277
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION |...
-
I read but getting no clue how to fix that.if i am able to see it anywhere on the dialog than atleast i will move it where i want .. within OnInitDialog() i wrote CRect temp; GetWindowRect(&temp);...
-
CreateEx is returning true..I have wrote this code inside OnInitDialog() function. Does any effect of it ..Any specific message handler to be used ?
-
Yes Victor it is within the parent
-
I used the below code for creating CEdit dynamically, code compiled but editbox is not visible on screen.
CEdit *tedit = new CEdit;
tedit->CreateEx(WS_EX_CLIENTEDGE , L"Edit", L" ",...
-
Hi GCDEF i used the resource editor and set the border to false which resulted in loss of boundaries of box , i also set client edge as false from there but no effect. As told i want the second box...
-
Means with no flags or functions i can achive second edit box. I have to use CreatEx for that?
-
35837
I have above one and i want below one.
-
When i used NOT WS_BORDER in .rc than it removed the entire boundaries from CEdit means box with no surroundings ..Any idea why, NOT WS_EX_CLIENTEDGE not working? My basic is issue is to remove that...
-
I used NOT WS_EX_CLIENTEDGE in .rc to remove the sunked edge from CEdit(EDITTEXT) but it is still showing Sunked/raised edge from left and topside?
|
Click Here to Expand Forum to Full Width
|