|
Editing the DSW and DSP file and replacing the occurence of testing with testing2, then renaming testing.cpp to testing2.cpp is enough
but i guess there's a tool on CP that just does that, search a bit!
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
http://www.codeproject.com/tools/vsrename.asp
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
Hi all.
Does visual c++ support tooltips (does it provide built in support)? I am sure that it doesn't but maybe i have missed something?
I was told by someone that it does and that it is very easy to do. But I have a feeling that they are talking about visual basic.
Also, does .net have built in tooltip support?
In all the time I have been using VC++ 6 I have never noticed the support in MFC apps.
|
|
|
|
|
From VC6 IDE
Project->Add To Project->Components and Controls->Visual C++ Components->ToolTip Support
is one way to do it.
Michael
"Time and tide melts the snowman."
-- The Doctor (Doctor Who: Time and the Rani
|
|
|
|
|
Thanks, I will give it a go.
|
|
|
|
|
How can I get a pointer to my document (CDocument) of my MFC application in a dialog? The GetDocument() function doesn't compile!
--
Nice greets, Daniel.
|
|
|
|
|
What kind of application do u have, dialog based, or Document/View or what??
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
A Document/View MFC application! And I want work with my document data in a dialog that I am opening!
The GetDocument() function (using in CView) doesn't compile!
--
Nice greets, Daniel.
|
|
|
|
|
What are the erros??
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
It can not compile because GetDocument() is no member of CDialog and so it is not possible to call GetDocument() in a dialog!
--
Nice greets, Daniel.
|
|
|
|
|
I have fixed the problem:
...
#include "TestDoc.h"
#include "MainFrm.h"
...
CTestDoc* pDoc = (CTestDoc*)((CMainFrame*) AfxGetMainWnd())->GetActiveDocument();
--
Nice greets, Daniel.
|
|
|
|
|
Let your dialog have a constructor that takes a CDocument* (or better still CYourDocument*), and supply the info to your dialog class at construction time (in the view)
|
|
|
|
|
Thanks! Very good idea!
--
Nice greets, Daniel.
|
|
|
|
|
hello
I am very confusing to understand the difference between SetWindowOrg(),SetViewportOrg() and SetViewportExt(),SetWindowExt(). and in what situation we use what function. if any expert please help me urgently. my task is based on these functions. actually my task is printing the data contained in the particular area on the view
Thanks you
from
venu
|
|
|
|
|
Google!!!!
tut1[^]
tut2[^]
sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
|
|
|
|
|
How can I add a background image to a CTreeCtrl (tree control)?
--
Nice greets, Daniel.
|
|
|
|
|
I think the only way is to subclass CTreeCtrl and then override OnEraseKkgnd(...)
Then you can paint your own picture as background!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Thanks!
--
Nice greets, Daniel.
|
|
|
|
|
hi all,,,
i have a text file to be passed on to a text area inside a frame....i have used FramesCollection to get the frame handles...could u plz help me in finding a way of passing the text...
|
|
|
|
|
I have been looking for a FormView bitmap class. Does anyone know if it exists? I have found Dialog and even MDI Background classes, but no FormView. Thank you for your help.
Darroll
Not one person lives in the present. Only the past. I can prove it.
|
|
|
|
|
OK I finnally found the " More results from ..." on Google and found one. If you have a favorite, or great success with one please let me know. No saying this one I found works.
Update. Ok that was an aweful experiance. I am still looking. If you can help please do.
|
|
|
|
|
Darroll wrote:
I have found Dialog
I think for Formview is the same way as Dialog.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
It should work in the same way as a CDialog derived class, override the WM_ERASEBKGND message handler.
Michael
"Time and tide melts the snowman."
-- The Doctor (Doctor Who: Time and the Rani
|
|
|
|
|
hey guys,
i need to place a bitmap on a dialog using StretchBlt() function.
can u give me an example for that...
thanx,
Kapil
Regards,
Kapil
|
|
|
|
|
You simply do it in WM_ERASEBKGND, or whatever it is. Are you loading from resources, or from disk ? Where are you stuck ?
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|