|
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)
|
|
|
|
|
I need some guidance, or a pointer, as to where I can find the answer to the question. I'm looking for a way to list all active processes running on a windows computer (2k/xp mainly, but 9x/me if its compatible with that as well), which have an open network connection (or are listening). Now, this much I can do with IPHlpApi.
However, what I want is based on the individual connection/process, I would like to be able to find out how much bandwidth is being used at any point in time.
So if anyone can suggest what I should look into, or a site, or some example code, I'd greatly appreciate it.
One other thing, and this is more of an off-topic interest than something I'd require, is being able to monitor i/o usage for individual processes.
|
|
|
|
|
Will netmon apis help you with that respect ???
I dont have any infromation about it, but then this is a pointer as requested by you.
God is Real, unless declared Integer.
|
|
|
|
|
elizard wrote:
I'm looking for a way to list all active processes running on a windows computer...
See Process32First() and Process32Next() for this.
elizard wrote:
...I would like to be able to find out how much bandwidth is being used at any point in time.
By "bandwidth" do you mean "network bandwidth?" If so, not all processes use the network. In that case, their usage would be 0. Do you means CPU usage instead?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|