|
Can anyone tell me the api needed to check if there is connection with the network(that is if the connection is maintained or disconnected) ?
dont want,dont want thinking,climbing on head and jumping grass!
(venda venda ennu vicharikumbol thellayill keyaree chadunnoda pulle!)
|
|
|
|
|
got it!....thanx!!!!!
dont want,dont want thinking,climbing on head and jumping grass!
(venda venda ennu vicharikumbol thellayill keyaree chadunnoda pulle!)
|
|
|
|
|
namaskaaram wrote: got it!....thanx!!!!!
iSensLogin!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi!!
I m working on an mfc sdi application.
I hav a dialog in which , i have "SHOW FILE" button. On it`s click event, i want to show the file on the same dialog. But, before clicking the "SHOW FILE" button, i want a small dialog only. Now, I hav two problems:
1. In which control, should I display(show) the file to the user?
2. How to set the dialog size at run time?
Thanx a lot
"If you change then change for the good."
|
|
|
|
|
ABout your first question which type of file do you want to display? image file, text file, HTML file....
for changing the dialog box size...
MoveWindow()
SetWindowPos()
...
|
|
|
|
|
Hello!!
I want to display text file.
Thanx a lot
"If you change then change for the good."
|
|
|
|
|
Hello
For Text File you can use CEdit Control with Multiline option set.
Or if your file size is large and you want some extra thigs to display like changing the colour of text ...
you car use RichEditControl.
Regards
Anil
|
|
|
|
|
Hi ,
I want to display vertical text in a CStatic text box which has the word wrap facility.
can anyone help me with an example.
Thanks,
Gayathri
|
|
|
|
|
Hi
Try to find out at this site...
http://www.codeguru.com/Cpp/controls/staticctrl/article.php/c2927/
Regards
Anil
|
|
|
|
|
Hello Friends,
Can any one tell where I can find the study materials (on the internet) for function pointer in C and C++ ?
How function pointer are used in the implementation of callback function in c and c++?
Where I can complete details of function pointer on the internet(where I can freely download demo codes for function pointers in c OR CPP).
I would be gratefull if anybody can help me in this matter
From
Philip.
-- modified at 4:26 Monday 6th February, 2006
|
|
|
|
|
|
why don't you ask here particuliar questions about function pointers ?
there are definitely several C/C++ experts which can help much than reading lines on the internet...
for demos also, there are plenty of examples on CodeProject too...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
|
Hi Guys,
First of all i really thank to all as i got all the answers to my doubts.
This time i have some interesting problem. In my projects thre are more than 300 classes. But in the class view it's only showing 1 class. Another interesting the same code when it was in the original directory its showing all the classes but when i placed the same code in a different folder it's showing only one class. My team mates are also facing the same problem. Please help me if you know the reason.
|
|
|
|
|
Sometimes Visual C++ 6 class view dies, and you need to make it look again at your classes.
Close visual c++
using taskmanager, kill the msdev process if it doesn't go away quickly.
go to the location of your project.
delete the .ncb file. (eg. myproj.ncb)
rerun vc++.
expand a project in the class view. see the "1983 files to go" line get smaller
enjoy all your classes!
Of course, this applies to v6. I have no idea about 2003-2005, etc.
Iain.
|
|
|
|
|
|
I want to implement a function like this.drag an item from a ListCtrl to system-shell (I mean the explorer ) ,when the item is dropped I wann get the destination where it 's drogged to (I wann get the full path)? just like WinRar,file can be dragged from a compression package to wherever the user indicate .
not need to offer me the whole code,just give me the vital one.
thanks ahead.
|
|
|
|
|
what ever technology does winRar use ?
|
|
|
|
|
Hi all
i have a problem in retrieving primarykeys form microsoft access database (by catalog2 example offered by msdn help),
when i request the SQLPrimaryKeys API function, no results returned to me, and when i called the SQL_API_SQLPRIMARYKEYS API to be sure that the ODBC driver support the SQLPrimaryKeys function, the result was that the system doesn't support this API function (ODBC version 3.x)
If any one faced this problem, please inform me who can i solve it
|
|
|
|
|
I subclass an Edit Control(whose Id is IDC_quantite) by Cnumeric(class that control if the caracters are numerics or not).
How can I activate the OnKillFocus message related to this edit control ?
I learn my self
|
|
|
|
|
|
I know that i must use WM_KILLFOCUS but how to do it from my Cnumeric class because when I write now i am writting on object of class Cnumeric but how can I send a message to the first class CEdit
|
|
|
|
|
I have try fromCnumeric class this but it not working
void CNumericEdit::OnKillfocus()
{
CWnd::GetParent()->PostMessage(WM_KILLFOCUS,0,0);
}
|
|
|
|
|
I guess you would like to call the base class handler.
Replace
CWnd::GetParent()->PostMessage(WM_KILLFOCUS,0,0);
With
CEdit::OnKillFocus();
Owner drawn
Jesus Loves
|
|
|
|
|
If it's true, this message will be sended to all CEdit, it's not possible to send it to exactly one object CEdit where i prefere ?
|
|
|
|