|
I guessed that would be the answer...
I had my fingers crossed that William Kempf (the author of boost::thread) may have answered directly, he occasionally answers questions on CodeProject
Thanks anyway,
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
When i call GetODBCFieldInfo i am getting:
fieldinfo.m_nSQLType = -9
which is not a valid type. The fieldname is a varchar value. Any idea why this might be happening??
|
|
|
|
|
Hi..
i am working on applicatipn that send data to aspx page via http protogol (POST)
i am using OpenURL to pass the values if the data had been accepted by the server it should return 0 or no from 1 to 10 for difrent types of errors..
somthing like that
pCFile=session.OpenURL("http://11.11.11.11/xx.aspx?var1=12525")
how can i read this returned value from CInternetSession varliable or pCFile and whitch fun to use
maybe some of u will find this is easy but it is very important to me so pleases i need the answere ASAP
SAM
|
|
|
|
|
Dear Friends,
I've developed a software in Visual C++. Actually it is a very simple application. With the help of this appliation, a user can make enteries in database, update/delete data from data base e.t.c. In database there are tables like, customers, suppliers, orders. So for each table i made dialog boxes. There are in all about 20 dialog boxes. (i hope you understand now that what kind of application it is and you must be thinking that it can be easily created in VB )
Now the problem is that i want to create main user interface and i dont have good ideas in my mind. Can you give me some idea or point me out some example application available here or somewhere else ???
Imtiaz
|
|
|
|
|
For general information on UI design take a look at the 'Joel on software' UI design textbook [^]
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
One idea might be to use a property sheet, with a tab for each table in the database. However, if this program is going to be used by anyone who does not understand databases/tables/etc, you might just want to present them with something a bit more generic. Perhaps a dialog with a few buttons on it (e.g., Add/Edit Customers, Add/Edit Suppliers, Add/Edit Orders).
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Hi, I put CFE_LINK style to my text in CRichEditCtrl , and it's blue and underline. I ve tried to repaint it but it is still blue and underline.
What should i do to have w CFE_LINK without blue and underline text?
[shame ;/, i really dont know how to change it]
Thanks You And Greetings
Michal
df
|
|
|
|
|
How can I accomplish the following???
1) Any new child window is opened maximized
2) Prevent any child window from being resized either min or max...
I have used this technique for preventing min/max buttons from appearing on the window title itself...
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style &= ~WS_MAXIMIZEBOX;
cs.style &= ~WS_MINIMIZEBOX;
return CMDIChildWnd::PreCreateWindow(cs);
}
How can I make sure the child window is always maximized???
Thanks
Cheers
How do I print my voice mail?
|
|
|
|
|
so when ur creating a child window do the following
CMDIChildWnd* child = MDIGetActive(&maximized);
if (child && (!maximized))
child->MDIMaximize(); // or MDIMaximize(child);
if u want to handle it in the childframe class itslef, then u've to override the OnSize(UINT nType, int cx, int cy) function of it. see MSDN for WM_SIZE for reference
hope this will help u
gudluck
Adi
|
|
|
|
|
|
Hi,
I have a MDI-Application. Now i want to use the Gray Background of the MainFrame as Startsite (i hope it's right in Enlisch). So, at first i have put a button in it: (In CMainFrame::OnCreate)
startButtonRechnungListe.Create("Liste gedruckter Rechnungen", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON | BS_FLAT | BS_NOTIFY, CRect(10, 10, 20, 20), this, ID_RECHNUNGEN_LISTE);
this works fine, the Button is shown. But i isn't clickable.
so i put 'startButtonRechnungListe.BringWindowToTop();' after it and the button is clickable. but now the button is always over any document-window.
So, my Question is, before i go to put every document-window to top: is this the right way? Or is there a better way to customize the MainFrame Background.
Thanks in advance, and excuse for my bad english.
Christian
|
|
|
|
|
sybase 12.5
vc++
i want get the table name use SQLColAttribute();
but the result is NULL
exam:
....
(Select aa from bb)
rc = SQLPrepare(m_hStmt,(unsigned char *)szSQL,SQL_NTS)
SQLExecute(m_hStmt);
rc = SQLColAttribute(m_hStmt,i,SQL_DESC_BASE_TABLE_NAME ,szTable,128,&nTable,NULL);
....
i test at sql is successed ; but in sybase szTable is NULL,
why ??
thanks!!!
|
|
|
|
|
In my program i want to use DSP Group TrueSpeech(TM) for audio compression and Indeo video 5.10 Compression Filter for video.but How to get filter interfaces of them?
thx for any help
|
|
|
|
|
i followed all the instruction from DirectShow SDK document,but still can't find anything from GraphEdit's File|Connect to Remote Graph, Although the AddToRot function returned SUCCEED.
I'm using VC6.0, Win2k
thanks for any help
|
|
|
|
|
HI,
Can anybody send me the links of some simple tools that will determine the memory leaks in my VC++ code, I am using VC7 (.Net).
Thanks,
Prashant
|
|
|
|
|
Take a try for Rational Purify.
Jitendra
|
|
|
|
|
For free but tedious, check out MFC CMemoryState class.
Sonork 100.41263:Anthony_Yio
Life is about experiencing ...
|
|
|
|
|
i read few topics about send email, some examples use ip address
my Q is: is an email address samilar to an ip address?
i.e. abc@yahoo.com is same as xxxx.xxxx.xxxx?
if yes, which part of an email address matches ip numbers?
thx
includeh10
|
|
|
|
|
a don't think you could encode email adress into IP address...
TOXCCT >>> GEII power
|
|
|
|
|
may be the yahoo.com would correspond to the ip address. but i have never seen any example that uses ip address to send the mail, may be you are talking about pop3 server ip address.
God is Real, unless declared Integer.
|
|
|
|
|
this guy is hell
_i_
chetna
|
|
|
|
|
|
what do u mean by NOP?
is it ASM NOP instruction or English NOP
Chetna
|
|
|
|
|
ofcourse its ENGLISH NO.....no.....no
NOP==its not possible
|
|
|
|
|