|
Thanks a lot, I'll check out the GWL_WNDPROC and get back to you if I need further assistance.
I'm delighted to hear that my efforts trying to do this were not in vain!
/ Z
|
|
|
|
|
Anyone knows how to deal with ghost windows in XP? How to get rid of the ghost windows in windows XP system with Platform SDK? Thanks.
Michael Liu
|
|
|
|
|
I think you'd better call Ghost Busters.
Sorry, I couldn't resist.
Honestly though, I have no idea what you are talking about.
Jason Henderson quasi-homepage articles "Like it or not, I'm right!"
|
|
|
|
|
Windows XP: If a top-level window stops responding to messages for more than several seconds, the system considers the window to be hung and replaces it with a ghost window that has the same Z order, location, size, and visual attributes. This allows the user to move it, resize it, or even close the application. However, these are the only actions available because the application is actually hung. When in the debugger mode, the system does not generate a ghost window.
reference from MSDN.
|
|
|
|
|
|
|
|
Test
|
|
|
|
|
|
How do I write a regular expression for ISO8601 date and time with timezone? More specifically, how do I detect the presence of the timezone bit using regular expressions.
I'm allowing a very limited set of the possible formats for ISO8601 to make it easier.
eg.s "2002-03-22T14:26:39Z", "2002-03-22T14:26:39+01:00", "2002-03-22T14:26:39-01:00"
I get stuck when looking for the '-' sign and I don't seem to be using the escape sequence properly. I'm working from our own http://www.codeproject.com/cpp/rexsearch.asp, but clearly don't understand them properly.
Thanks in advance.
Al.
Alice thought that running very fast for a long time would get you to somewhere else. " A very slow kind of country!" said the queen. "Now, here , you see, it takes all the running you can do, to keep in the same place".
|
|
|
|
|
Hi
I discovered that when I add a very long CString (>260 characters) as the text of a CListCtrl item, it won't get displayed completely even though I set the column width to the maximum. Can someone please help me to fix that problem, it's really urgend!!
Thank you
Grit
|
|
|
|
|
I'm using CHtmlView - derived class CHtmlCtrl (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmsj00/html/cpp0100.asp) for use in dialog boxes. I need to navigate that control to some page (for example about:blank) in dialog's OnInitDialog(). But Navigate() is not blocking function, how to block until CHtmlView::OnDocumentComplete() is signaled ?
rrrado
|
|
|
|
|
I have set the rich-edit control of a CRichEditView to read only
(GetRichEditCtrl().SetOptions(ECOOP_SET, ECO_READONLY); )
which works fine, except that the scrollbar is then also "readonly" - the user is unable to scroll the text in the window! Is there a solution? (Yes, I've tried EnableScrollBar.) TIA.
|
|
|
|
|
Hello!
Tell me,please,how can i copy any data from table of one access database to table of another access database,for example i have two datasources: m1.mdb and arch.mdb and i must copy any data from table1 of m1.mdb to table2 of arch.mdb My project is writen on MFC and i use Access databes.
Thank you,
Ira.
|
|
|
|
|
Here is my solution :
1. open both databases, select * into source recordset, create recoprdset in destination database
2. select all rows from source database into source recordset
3. destination recordset.AddNew()
4. copy all field values from source recordset to destination recordset
5. update destination recordset
6. go to 2
rrrado
|
|
|
|
|
It means that i must use CRecordset or i can use and CDaoRecordset?
|
|
|
|
|
It depends what database acces are you using.
CDaoRecordset is dor DAO, CRecordset is for ODBC.
It is recommended to use ADO or ODBC, i'm using this wrapper class for ADO : http://www.codeproject.com/database/caaadoclass1.asp
CADODatabase + CADORecordset
rrrado
|
|
|
|
|
my function for easy copying of recordsets is here :
void CSynchronizeDlg::CopyRecordset(CADORecordset &dst, CADORecordset &src)
{
CString tmp;
for (int i=0; i<src.GetFieldCount(); i++)
{
if (src.IsFieldNull(i))
{
tmp.Empty();
dst.SetFieldValue(i,tmp);
}
else
{
src.GetFieldValue(i,tmp);
dst.SetFieldValue(i,tmp);
}
}
}
rrrado
|
|
|
|
|
hi
file drag and drop from my namespace works, i use CFSTR_FILECONTENTS and IStream for the content. but how to drag whole directories using CFSTR_FILECONTENTS ?
thanks
|
|
|
|
|
Does CWinApp::Run() gets called automaticaly when starting the app, or do you have to do this yourself?
I've deprectated the Run-function, just added a messagebox in there and a call to the parent-Run. But the messagebox never appears, so I guess Run() isn't called automaticaly. (or am I wrong?)
And how do I have to call Run()? Just calling Run(), or is there a Start() function like in java? And from where? From Initinstance()?
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
|
So Run() is called automaticaly.
So, why is my deprecated Run() method not called???
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
What api should i be using to determine how much data was transferred or currently transferring for a network adapter?
|
|
|
|
|
You should check inside the "performance registry" under: HKEY_PERFORMANCE_DATA key.
--
Looking for a new screen-saver?
Try FOYD:
http://digilander.iol.it/FOYD
|
|
|
|
|
Hi
How can you change the default IDOK for the "Enter" button on your keyboard. My problem is that the program exits when i hit "Enter"...I am not looking for a "Accelerator solution" because then you cannot use "Enter" for the buttons in my app if a button is selected.
By the way its for a dialog based app.
Tnx in advance
Frank
|
|
|
|