Search:
Type: Posts; User: Salvadoravi
Search:
Search took 0.26 seconds.
-
April 17th, 2013, 11:43 AM
Hi all,
I’ve created a modeless dialog from my main dialog as follows:
m_pContainerDlg = new CDlgContainer(NULL, this);
m_pContainerDlg->Create(CDlgContainer::IDD, GetDesktopWindow());...
-
October 5th, 2012, 08:42 AM
Guys,
I've tried,
CRect rect;
GetClientRect(&rect);
CPaintDC dc(this); // device context for painting
-
October 5th, 2012, 06:36 AM
Hi all,
I wrote a simple clock that shows the time over bitmap as follows:
void CMyClock::OnPaint()
{
CRect rect;
GetClientRect(&rect);
-
September 3rd, 2012, 07:23 AM
Hi all,
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, 05:47 AM
-
March 12th, 2012, 10:29 AM
Hi all,
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:
ON_COMMAND(ID_TOOLBAR_MY_BUTTON1,...
-
March 1st, 2012, 07:03 AM
Please Ignore it's working fine!! Sorry
-
March 1st, 2012, 06:59 AM
Hi all,
Is it possible to use CMFCTabCtrl in a dialog??
Many thanks!!
-
March 1st, 2012, 06:57 AM
Hi Guys,
I've recently added support for common control 6 in my dailog.
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0'...
-
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
Thanks GCDEF,
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
Hi all,
I have a Dialog project and I am loading a form view inside a frame:
int CMyDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
m_pFrame =...
-
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
Hi all,
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.
void...
-
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 ...
Advice??
-
November 23rd, 2009, 06:25 AM
Gurus,
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, 03: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, 01: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, 10:11 AM
Thank you for your suggestion, I have the book but unfortunaltely The implemention of the mutex in the book is opaque.
Thanks again!!
-
October 11th, 2009, 08: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, 07:46 PM
Hi all,
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, 03:13 PM
Hi all,
Many InteLocked...... functions like InterLockedIncremet
http://msdn.microsoft.com/en-us/library/ms683614(VS.85).aspx
have the following quote in MSDN:
"The variable pointed to by...
-
September 25th, 2009, 10:35 AM
|
Click Here to Expand Forum to Full Width
|