Type: Posts; User: Salvadoravi
Search took 0.02 seconds.
April 17th, 2013, 12:43 PM
Iíve created a modeless dialog from my main dialog as follows:
m_pContainerDlg = new CDlgContainer(NULL, this);
October 5th, 2012, 09:42 AM
CPaintDC dc(this); // device context for painting
October 5th, 2012, 07:36 AM
I wrote a simple clock that shows the time over bitmap as follows:
September 3rd, 2012, 08:23 AM
I have a list control with LVS_REPORT & LVS_EX_GRIDLINES style.
My problem is that when the list control is disabled the grid lines disapear.
Anyone know how to "keep" the grid lines...
March 13th, 2012, 06:47 AM
March 12th, 2012, 11:29 AM
I have a CMFCToolBar with 2 buttons and I want to disable all the buttons if any of them been clicked
I added the following message map:
March 1st, 2012, 07:03 AM
Please Ignore it's working fine!! Sorry
March 1st, 2012, 06:59 AM
Is it possible to use CMFCTabCtrl in a dialog??
March 1st, 2012, 06:57 AM
I've recently added support for common control 6 in my dailog.
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='184.108.40.206'...
January 16th, 2012, 11:55 AM
Guys please help!
I've created my first Doc/View project using Visual Studio Default project.
I've added a splitter and I'm loading an HTML view to the right side and it works as expected.
December 29th, 2011, 08:47 AM
I'll take a step back.
The reason why I'm implementing it in the way I've described above is because I need to extend a fully mature dialog program that probably cannot be...
December 29th, 2011, 08:18 AM
I have a Dialog project and I am loading a form view inside a frame:
int CMyDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
December 6th, 2010, 07:58 AM
Cilu, thank you for you quick reply.
I think that I didn't clarify my question good enough.
The users are unable to resize the dialog but they can still reposition the window (by clicking on...
December 6th, 2010, 06:20 AM
No, the users are not allowed to change the dialog size.
December 6th, 2010, 05:02 AM
I'm using SetWindowPos() to resize my dialog size according to the program state.
(A state can be received at any point during the program execution.)
My problem is that the dialog...
February 2nd, 2010, 07:13 AM
I have a small MFC dialog app that gets an event notification when I receive an email.
In my OnEmailEvent() event handler I resize the dialog so it will fit to the size of the email.
November 23rd, 2009, 09:11 AM
The problem is that I don't know what is the hwnd of the new created modal until I call DoModal().
The problem is that DoModal() blocks so I can't get the hwnd anyway ...
November 23rd, 2009, 06:25 AM
My main dialog creates a modal dialog which in turn creates another modal dialog when the user click on a button.
// Main Dialog //...
October 15th, 2009, 04:38 PM
"The problem we're concerened with, involves at least to separately compiled source files, each of which contains at least one non local static object (i.e an object that's global, namespace scope or...
October 12th, 2009, 02:26 PM
Thanks again for your inputs
You suggestion is the implemention of the mono state pattern not a singleton.
To initialize a critical section you need to call...
October 11th, 2009, 11:11 AM
Thank you for your suggestion, I have the book but unfortunaltely The implemention of the mutex in the book is opaque.
October 11th, 2009, 09:29 AM
Thank you very much fo your input,
Initializing a critical section that has already been initialized results in undefined behavior.
The code is not thread safe.
October 10th, 2009, 08:46 PM
I want to use a CRITICAL_SECTION in my singleton class to synchronize access by multiple threads.
I need to lock the singleton even after initialization so the double checked lock...
October 1st, 2009, 04:13 PM
Many InteLocked...... functions like InterLockedIncremet
have the following quote in MSDN:
"The variable pointed to by...
September 25th, 2009, 11:35 AM
Click Here to Expand Forum to Full Width