|
Thanks for that, you were right.
Your response is much appreciated.
|
|
|
|
|
I need know temperature on CPU and Mother Board.
How I can Get this?
|
|
|
|
|
Perhaps You find sth in the ACPI specs. But I am not sure if this was standardized.
Otherwise by a thermoelement which can be read out via RS232. This always works
|
|
|
|
|
How can I add a checkbox to an Open File dialog? (CFileDialog class)
I tried deriving a class from it... but that's about as far as I got
|
|
|
|
|
try this[^] article
Kannan
|
|
|
|
|
|
Hello colleague-CP'ers,
Situation:
I need to switch a listbox from single selection mode to multiple selection mode.
I use the code found at
http://www.codeproject.com/combobox/RecreateListBox.asp[^]
that in fact recreates the listbox.
Problem:
After recreating my listbox (that contains a lot of items) it doesn't have a scroll bar anymore. The scroll bar is GONE!
Anybody an idea?
Anybody had the same?
Other ideas to make a single selection list box a multiple selection one and vice versa?
Geert
|
|
|
|
|
I have developed an application using VC6.0.Its a dialog based application when I run this on XP it never resizes my dialog it remains only in two modes either maximized mode or minimized...what could be the problem...If somebody has some idea please do let me know.
Thanks in advance
|
|
|
|
|
So it appears as if it's remembering the previous size in the registry or somewhere. Since it's your app, you should know where (or at least be able to find out). So go there and clear those settings.
Regards,
Alvaro
Well done is better than well said. -- Benjamin Franklin
(I actually prefer medium-well.)
|
|
|
|
|
Hey Alvaro,
Can you please elaborate on the settings you are talking about that I need to clear???
The problem comes, once I minimize the window and then I click it to restore, the icon turns into a pressed/highlighted icon but window doesn't come up then I have to right click and select maximize from the menu then only I can view it.
This problem is there in XP and works fine on all other windows versions.
My feeling is that it forgets it's previous size. I am not able to figure out whether this my programming bug or Windows problem.
Both the ways I do not have any clue as what to do
It's our customers requirements and have to fix it urgently. I am stuck I would appreciate if someone can help me on this or point me to some mailing list/discussion forum etc.
Thanks
Prateeti
|
|
|
|
|
I have developed an application using VC6.0.Its a dialog based application when I run this on XP it never resizes my dialog it can only be in two modes either maximized mode or minimize...what could be the problem...If somebody has some idea please do let me know.
Thanks in advance
|
|
|
|
|
how to get motherboard serial number using vc++.
I want to generate a unique hardware id using vc++.
can anyone help me..
|
|
|
|
|
have a look at this[^] article.
Cheers
Kannan
|
|
|
|
|
hello,
My English is not so good but i try.
How kan i use DISTRICT in vc++? My Database is a Sql Server and i use ODBC .
My Code:
CString strSQL = "SELECT DISTINCT [taetigkeit] FROM [ProjektDetails]";
if(! pProDet.Open(CRecordset::dynamic,strSQL))
return FALSE;
thank for help
|
|
|
|
|
Get rid of the square brackets, I reckon.
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not
as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
Thanks for your Posting but this is not the Problem
|
|
|
|
|
The SELECT statement looks fine to me. What exactly is the problem?
Jason Henderson start page ; articles
henderson is coming
henderson is an opponent's worst nightmare
* googlism *
|
|
|
|
|
The Problem is that i always get this error "Restricted data type attribute violation"
|
|
|
|
|
Check the datatypes you are using for the returned value.
Jason Henderson start page ; articles
henderson is coming
henderson is an opponent's worst nightmare
* googlism *
|
|
|
|
|
Why use ODBC? Ado simplifies life so much.
You'll need to supply more details of the actual error message as the SQL string looks fine.
Have you thought about using a stored procedure and ADO command object instead.
Michael
Fat bottomed girls
You make the rockin' world go round -- Queen
|
|
|
|
|
Hi,
I have developed an application where I want to display something in tree control using system font. I dont know how to get the system font and then how to display it in tree control..anyone has some idea..please do let me know.
Thanks in advance
|
|
|
|
|
Mmmh ...
I don't really understand what you mean by 'system font', but if you mean the current font in your control, there's several possibilities :
CWnd::GetFont will give you a handle to the font in the win. You can then use a CFont object, and assign it the font with CFont::FromHandle .
To get the font used in your tree control, add a member variable
CFont m_Font; .
Then if you have a CTreeCtrl, put it that way in your OnInitDialog() or whatever:
m_MyTreeCtrl.SetFont(m_Font);
Or, if you do only with the IDs,
CTreeCtrl* pTree = GetDlgItem ( IDC_TREE_LABEL );
pStatic->SetFont( &m_Font );
~RaGE();
|
|
|
|
|
Thanks for the reply. By 'System font' I mean to say is window's default font.
For example in browser when we type some url it displays that url in window's default font which we can change by right clicking on desktop settings.
Anyways thanks for the help.
|
|
|
|
|
I'm not sure to understand, however you may have a look to
GetStockObject[^], using as parameter DEFAULT_GUI_FONT.
HTH,
I hurt so bad inside
I wish you could see the world through my eyes
It stays the same
I just wanna laugh again
|
|
|
|
|
It worked... Thanks a lot.
|
|
|
|