|
What does configuration/debug/release modes have to with finding audio levels?
"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
|
|
|
|
|
oh no whats happen? this link is answer to Breakpoint setting(Anu_Bala )
thank you DavidCrow
so i edit my post
|
|
|
|
|
The 'new' link still goes nowhere. Use this one.
"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
|
|
|
|
|
But I dont know my setting I cant get any link in mailbox
it has check for each messageNotify me by e-mail if someone answers this messge
and I see your answer only in here and I try to enter new link but i get only this link I dont know
maybe is better that i delete my answer to this question
I get occur error from codeproject and sometimes it not load
whats happen?
|
|
|
|
|
hi all,
i want to Increase the Font of the Labels before all the Controls. is there any approach to increase the Font of a Static Control that we palce before all the Controls to Identify. i want to increase the Font Size of the Static Controls before the placed before the Controls in a Dialog Box.
please let me know,
uday.
uday kiran
|
|
|
|
|
kiran janaswamy wrote: i want to Increase the Font of the Labels
In the definition of your dialog (the .h file), include a CFont object (m_font ). Initialise that font object in your constructor:
LOGFONT lf;
NONCLIENTMETRICS ncm;
ncm.cbSize = sizeof(ncm);
VERIFY(SystemParametersInfo(SPI_GETNONCLIENTMETRICS, ncm.cbSize, &ncm, 0));
memcpy(&lf, &ncm.lfMessageFont, sizeof(LOGFONT));
m_font.CreateFontIndirect(&lf);
Then in your OnInitDialog, get the CStatic object for the ontrol, and set it's font. Remember, you need to have named the object in the resources something other then IDC_STATIC.
CWnd *wnd = GetDlgItem(IDC_YOURCTRL);
ASSERT(wnd);
if (wnd) wnd->SetFont(&m_font);
kiran janaswamy wrote: before all the Controls.
Sorry, I don't understand what it is you're after with this bit.
- Dy
|
|
|
|
|
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?
|
|
|
|
|