|
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
|
|
|
|
|
|
I believe that you break abc@yahoo.com down into the user 'abc' and the address 'yahoo.com'. Then you query your local DNS server for the 'Mail eXchange' (MX) record for 'yahoo.com'. This gives you a real IP address, 123.123.123.123. You then connect to the SMTP server at that address and ask it to deliver mail to abc.
In general this functionality is performed by your local SMTP server, your email client will always connect to your ISP's SMTP server which will in turn connect to yahoo.com and pass the mail on. AOL for example will now only accept mail from a known list of IP addresses to try and reduce spam.
Paul
|
|
|
|
|
hi thx,
my process is:
file address.txt includes tens of email addresses
file message.txt contains info for sending
i never use email in c++ before.
open files are easy.
do you have more suggestion in vc to implement email task of mine?
includeh10
|
|
|
|
|
includeh10 wrote:
do you have more suggestion in vc to implement email task of mine?
See here:
http://www.codeproject.com/internet/#Email+%26+SMTP
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|