|
I have a somewhat similar situation in that the right side of the view is actually a property sheet control (tree control fixed on the left) and I use the tree control to display different 'pages' of the property sheet. When a tree item is selected I simply call a SwitchPage rotuine to display the proper page. The property sheet doesn't display tabs or anything goofy so it is somewhat transparent to the user that the seperate views are actually property pages
hope this helps
cje
|
|
|
|
|
Thanks.Is there any article based on the above concept.
|
|
|
|
|
not that I am aware of
cje
|
|
|
|
|
There are tons of memory leak detectors out there, my personal favourite being 'Visual Leak Detector'. But I have found nothing that can perform a similar detection of GDI memory leaks. It has just taken me 2 hours to track down an unreleased DC. Does anybody have any suggestions for GDI leak detectors (preferably freeware/open source) that will make life a little easier?
|
|
|
|
|
Hi, I'm the author of Visual Leak Detector, and I keep hearing similar sentiments. To be honest, I don't know anything at all about GDI resources: how they are allocated, how they are freed... I know literally nothing about them.
However, if you could point me in the general direction of where I can learn the basics, or even just describe to me how you are using GDI resources, I could investigate this area and determine how, if at all possible Visual Leak Detector could be extended to also detect GDI resource leaks.
Cheers,
-- Dan
|
|
|
|
|
Hi all,
What can I use instead of the next line character ( \n ).
<code>
StreamWriter^ write = gcnew StreamWriter(holdSMSFileName);
write->Write("\n");
</code>
The \n character causes a problem in notepad.
Thanx in advance
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
|
Programm3r wrote: Newer mind .... Stupid Question
BTW, the dumber point is that you asked for a managed problem in the non managed forum
|
|
|
|
|
Sorry to have disappointed you..... :->
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
|
write->Write("\r\n");
\r Carriage return
\n New line
|
|
|
|
|
if you're using stl, then std::endl does the same thing
bah, how can I turn off spell checking in programming forums?
|
|
|
|
|
An application have a main window A, click one button popup a dialog B(modeless window), and dialog B have a child dialog C(modeless window), how let on window C's control keydown TAB goto next control?
add IsDialogMessage, TranslateMessage, DispatchMessage? But where add?
-- modified at 4:13 Wednesday 25th October, 2006
|
|
|
|
|
Dear All,
I want to learn Win32 Programming. I dont know which book to purchase.
Can one do help me to get one good win32 programming book?
Thanks in Advance !
|
|
|
|
|
|
I have been tasked with writing a Windows Application that needs to manage multiple processes. The application needs to layout the users main screen by placing the Windows frames of each application/process at specific locations defined in either the registry or some kind of INI file. My first thoughts are to construct an SDI C++ application with Multiple Views for each process that I need to manage.
Does anyone know if it is possible to inject into a View a application process.
Thanks for your time.
Alan Van Hek
Alan Van Hek
Principal Software Developer
VTOL Technologies Ltd.
Reading University
|
|
|
|
|
please elaborate... u want to add a CProcess to CView???? I think i have done this.. i mean the thing u want to achieve but not CProcess in a CView!!!! this is absurd i think
|
|
|
|
|
Yes,
I think that to add CProcess to CView is something that I would like to try. So that I can have multiple views in my application each one displaying a different Windows process. I can then switch between each view and therefore each individual process.
Many Thanks,
Alan
|
|
|
|
|
I want a new data type which is essentially a float that is something like
<br />
typedef float LogData;<br />
However when i assign a float to LogData without explicit cast, i want the compiler (VS.net 2003) to signal a warning. Is there any way to do this? i just want to make sure that i accidently dont use the wrong "data types" in the wrong places. Thanks.
|
|
|
|
|
In fact, there won't be any warning because the two types are exactly the same ! I don't understand why you want to have a warning...
Even if you accidently use a float instead of a LogData, there won't be any problems because they are exactly the same. So, what's the problem ?
|
|
|
|
|
Yeah i guess i was getting a bit paranoid about type's. Thanks .....
|
|
|
|
|
rockychaudhary wrote: However when i assign a float to LogData without explicit cast...
Why would you want LogData ld = (LogData) 5.0 instead of just LogData ld = 5.0 ?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
How can i browse for for particular type of files, when i use CFileDialog object for selecting files my application crashes,is there any other functionality for browsing
files?
|
|
|
|
|
|
When i browse for file, after selecting i got Microsoft, error which popups one dialog box which send, dont send, debug buttons, when i tried to debug i got unhandled exception error
|
|
|
|