|
hi guys
I'm new to MFC and been tryin' to use the tile view in the CListCtrl. You know like the one in the windows explorer(WinXP).
I know that there are CListCtrl::SetTileInfo and CListCtrl::GetTileInfo member functions in the ClistCtrl class, but i have no idea on how to use it. So if someone could help me or direct me somewhere apropriate(I found one in codeproject but it was implemented in c#) it will be a great help. Thanks in advance
|
|
|
|
|
there are many samples in ur VC CD, which are best teachers for newbie.
A special image tool for C++ programmers, don't miss it!
The world unique Software Label Maker is here for you and me ...
A nice hyper tool for optimizing your MS html-help contents.
|
|
|
|
|
thanks for the reply , I'll take another look
regards, fajaronly
|
|
|
|
|
My project:
[x]
-[Src]
--x.cpp
--x.h
-x.sln
But when i check in or check out:
[x]
-[x]
--[Src]
---x.cpp
---x.h
--x.sln
-[Src]
--x.cpp
--x.h
-x.sln
why?
|
|
|
|
|
FlyWithYou wrote: why?
Why not? What is your question exactly?
|
|
|
|
|
umm, my project path is e:\x, but when i check in or check out it create project in e:\x\x, so recurrence.
why?
|
|
|
|
|
Check the working folders in the VSS application for your project. Visual Studio has a bad habit of changing them for you.
Software Zen: delete this;
|
|
|
|
|
$/x -> e:\x
$/x/src -> e:\x\src
right?
1.i create a project, and add to VSS, check out project write code, close the project, next time load project from VSS(<-- right?).
2.How to in VS.NET modification vss comment or lable?
|
|
|
|
|
hai all
i have a problem.when ever i resize the dialog,i would like to have the controls to be resized in respect to the size of the dialog
|
|
|
|
|
This[^] and This[^] will help you to do what you want.
Regards,
Rajesh R. Subramanian
You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.
|
|
|
|
|
keerthikaaa wrote: have a problem.when ever i resize the dialog,i would like to have the controls to be resized in respect to the size of the dialog
Handle WM_SIZE message or OnSize(...) message in your Dialog Class
|
|
|
|
|
Hi keerthikaaa,
Do you want to keep previous size?
|
|
|
|
|
hai
when ever i resize the dialog,the controls which are placed on that are to be resized so that no change in the appearence of the dialog will be there.
otherwise the controls will be placed at one side of the dialog and the rest of the diaolgs space looks empty which doesnt give a nice look
|
|
|
|
|
keerthikaaa,
oh yes,
well (ThatsAlok wrote WM_SIZE) yes this is a way.
you can declare this event and then use variable of controls with movewinodw in function
|
|
|
|
|
WhiteSky wrote: with movewinodw in function
and SetwindowPos too
|
|
|
|
|
how can I get the full process name in kernel, then one returned by the GetModuleFileName ?
any ideas ?
The EPROCESS structure has a member called ImageFileName but it is just the base name
gabby
|
|
|
|
|
Hi,
I'm new to MFC, my question is how to get a pointer to CDocument in a non CView class?
For example in a docking window or a CDialog.
|
|
|
|
|
Jim Jim wrote: I'm new to MFC, my question is how to get a pointer to CDocument in a non CView class?
Simpler solution to declare the global Pointer to document class and access that in your Non View Class
|
|
|
|
|
The best approach is to use something like the following:
CMyFrameWnd *frame = (CMyFrameWnd *)AfxGetMainWnd();
CMyDocument *document = frame->GetActiveDocument();
Software Zen: delete this;
|
|
|
|
|
Hai to all,
I would like to know how an AfxBeginThread function works for staring a thread.i have gont through the msdn help.But being a starter i couldnt get that syntax properly.so help me to know about that function in a clear way about what it doing and what parameters are used in that function.
|
|
|
|
|
|
Hi,
I want to develop a Network Monitor and filter(for Windows Platform) as my final project in Visual C++
( either in MFC or Win32)
so does anyone know from where should i initiate??
That is what APIs need to learn ?
what SDKs i need to download ? e.t.c
so please help me bcause i am running out of time ,please kindly acknowledge my message...
Thank You
The Only Way To Get Smarter is By Playing Smarter Opponent
|
|
|
|
|
ntimesc wrote: what SDKs i need to download ? e.t.c so please help me bcause i am running out of time ,please kindly acknowledge my message...
try this libaray WinpCap[^], it provide ready made solution to your problem
|
|
|
|
|
thanks 4 replying me
but this project i also want to submit in Microsoft Acedmics Projects , so i aksed them for WinCAP but they said you can't use that (third party) library..... so do u have another solution
The Only Way To Get Smarter is By Playing Smarter Opponent
|
|
|
|
|
ntimesc wrote: but this project i also want to submit in Microsoft Acedmics Projects , so i aksed them for WinCAP but they said you can't use that (third party) library..... so do u have another solution
then try Iphelper apis provided by MS itself :-
IPHELPER[^]
or have a look at firewall example listed here
Firewalls[^]
|
|
|
|