|
use createfont and then SetFont
|
|
|
|
|
hi WhiteSky,
i am very much thankfull to your suggestions. i got it.
uday.
uday kiran
|
|
|
|
|
Sometimes if i want to set breakpoint to do debbugging,the error will display that "one or more breakpoints cannot be set and disabled"..Wats the reason for this..How can i set breakpoint in my coding...
|
|
|
|
|
Because you are trying to put a breakpoint on an invalid line. An invalid line is a line that isn't related to an assembler instruction (like for example declaration of variable, an opening or closing brace, ...)
|
|
|
|
|
Anu_Bala wrote: Sometimes if i want to set breakpoint to do debbugging,the error will display that "one or more breakpoints cannot be set and disabled"..Wats the reason for this..
May be you set the breakpoint on a line which is invalid. Like on an empty line or comment lines.
Anu_Bala wrote: How can i set breakpoint in my coding...
F9 where you want to set the breakpoint. F9 again on the same line will clear the breakpoint.
To clear all break points in the project press Ctrl+Shift+F9.
Nibu thomas
Software Developer
|
|
|
|
|
or maybe Configuration mode is Release not Debug
|
|
|
|
|
Where is that configuration mode?
|
|
|
|
|
In menu build option configuration manager and see Active solution
|
|
|
|
|
With MSVC6 (and possibly other debuggers) this can happen if you place a BP in a DLL then try to debug an EXE that loads the DLL but hasn't done so yet.
Steve
|
|
|
|
|
I had written a service whose startup option is always set to automatic.but when i reboot my machine the startup type is shown as manual. This is being observed only in one machine.
I need to know why the service status is changed to manual after every reboot?
Could you please throw some light on this?
-- modified at 6:34 Thursday 4th May, 2006
|
|
|
|
|
|
The service might be dying while initializing (long shot but worth a check)
Master.. Master.. where are the dreams that i've been after...
|
|
|
|
|
What is the use of the following snippet of code:
while( GetMessage( &msg, NULL, 0, 0 ))<br />
{<br />
TranslateMessage( &msg ) ;<br />
DispatchMessage( &msg ) ;<br />
}
I am writing an Office Addin which displays a Modeless window. The code is in VC++. I am creating the Window myself hence the above code. Now, when I remove the above code, my window works as a modeless window. but when I add the above code, it works like a modal window.
Is the above block of code important?
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
It is the main message loop of a window: it will retrieve the messages from the message loop and process them. If you put this loop in a 'child' window, the main loop of your application won't run anymore, that's why it reacts as a modal dialog.
|
|
|
|
|
Loops like that are the single most important aspect of Windows programming. Windows is message based and this is the plumbing that "pumps" the messages - hence it's name, the "message pump".
Steve
|
|
|
|
|
The Forms created through Visual Basic or the Winforms created using .NET, are they Dialogs or SDI Frames with a child view window inside?
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
I'm not sure about this. Either way there will be a message pumb somewhere under the hood.
Steve
|
|
|
|
|
can't handle the double click event on CListCtrl item
As I understand I should specify some list control's style..
but which of them?
|
|
|
|
|
|
NoName II wrote: can't handle the double click event on CListCtrl item
Why not? What code do you have in place for this? What are the symptoms? Be a tad more specific, please.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
Hi all!
I want to write a program like Watchdog O Matic, but there are some difficult things because of the knowledge. I have some question in my mind but still not answer yet:
1. How to know/detect a application have error like : Access Violation, Runtime Library, MFC error to restart the application.
2. Where's document to solve above issue
If you known something please let me know...
Thanks for watching..
|
|
|
|
|
From yesterday to today, the declaration of _com_dispatch_method has vanished from my Dev PC, so #import statements for Dispatch itnerfaces don't work anymore. I still have comdef.h, which has all the others (e.g. _com_dispatch_propget) and a __c_com_dispatch_methoddecl, but nothing else can be found.
(Weird thing is: I just installed a soundcard driver and an InstallShield eval, , I can't think of anything else...)
[edit]With a sharp look, __c_com_dispatch_methoddecl can be transformed into __cdecl _com_dispatch_method . Now it's hard not to blame this on InstallShield [/edit]
Some of us walk the memory lane, others plummet into a rabbit hole
Tree<t> in C# || Fold With Us! || sighist
-- modified at 5:02 Thursday 4th May, 2006
|
|
|
|
|
hi all,
i am getting problem on QuerySibling(...) method of PropertyPage please tell me, i am writing QuerySibling(...) method in PropertyPage named two and sending some Data to PropertyPage three where i am collecting the Data. But in first time the Page is not able to Transfer the Data to ThirdPage.
here is the snippet of code.
second page:
------------------------------------------------------------------------------
BOOL two::OnSetActive()
{
CStringArray abc;
abc.RemoveAll();
abc.Add("1");
abc.Add("2");
abc.Add("3");
abc.Add("4");
abc.Add("5");
if(QuerySiblings(1,(LPARAM)&abc)){ //Sending Data to Third Page
CancelToClose();
}
return CPropertyPage::OnSetActive();
}
/-----------------------------------------------------------------------------
third Page:
LRESULT three::OnQuerySiblings( WPARAM wParam, LPARAM lParam )
{
switch(wParam)
{
case 1:
CStringArray* pString = (CStringArray*)lParam;
if(str1.GetSize() > 0) //Remove all the Map Values
str1.RemoveAll();
for(int i =0;i< pString->GetSize();i++)
str1.Add(pString->GetAt(i)); //Collecting Data from Page Two !!!
pString->RemoveAll();
break;
}
return Default();
}
/-----------------------------------------------------------------------------
for the first time i am not able see the Reflected Data in Page Three after traversal of page2 (two) to page3 (three) twice only i am getting the data.
but in MSDN he has given the only method to be change the data from one property page to another property page.
please let me know it is urgent!!!!!!!!!.
help me out.
uday.
uday kiran
|
|
|
|
|
hi all,
its just "PSP_PREMETURE" flag before the Property sheet is Shown. I got It.
uday.
uday kiran
|
|
|
|
|
I wanna save some value into the a txt type file.
for example, I save the value in *.txt file as follow,if the font is not matching, the columns/lines maybe become curve,sach as:
90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF
B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF
1>How can I set the text file display font in my code?
2>How can I get the exact single vaule that saved before?
|
|
|
|