|
Hi, all!
How can I display all symbols of font file (ttf), like font creating tools do this?
Thank you in advance.
|
|
|
|
|
Any ideas on how to clear a radio button which you've selected??
Kind Regards
Caoimh
|
|
|
|
|
void CWnd::CheckDlgButton( int nIDButton, UINT nCheck );
or for radio buttons in a group use
void CWnd::CheckRadioButton( int nIDFirstButton, int nIDLastButton, int nIDCheckButton );
greatest thing is to do wot others think you cant suhredayan@omniquad.com
|
|
|
|
|
Use the CButton::SetCheck() method
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
You can use CButton::SetCheck()
Ant.
|
|
|
|
|
Should have refreshed before posting, seems David was a little quicker than me on this occasion
Ant.
|
|
|
|
|
I want to be able to get the line and position of an element in a xml document, so when when there is an error (not a parse error!, but e.g. attribute verification error)I can display the user the position in the document.
|
|
|
|
|
I don't use MSXML, but in XML4C you can use the Locator object (that's passed to your error handler) to find the current line and column. I suspect there's an equivalent class in MSXML.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
I could not find anything similar in the MSXML dom parser.
|
|
|
|
|
Hi,
I've noticed that if I set a system environment variable, it isn't recognized by any services (even if I restart them). The only thing that seems to work is a reboot. Does anyone know how to make the services recognize the newly added variables without the need for reboot?
Note that I've tried adding the system variable in two ways:
1. manually through control panel->system
2. programatically, by putting the variable in the registry and broadcasting the WM_SETTINGCHANGE MESSAGE using the SendMessageTimeout function.
Thanks..
/=/=/=/=
Deus
/=/=/=/=
|
|
|
|
|
I have to convert CString to integer under unicode debugging as below...
CString str = "123";
#ifdef _UNICODE
int i = atoi(str);
#endif
throws the error C2664: 'atoi' : cannot convert parameter 1 from 'class CString' to 'const char *'
Kindly tell me how to do this?
|
|
|
|
|
Use the W2A() macro, as in:
int i = atoi(W2A(str)); Don't forget the USES_CONVERSION statement.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Or use the new vc7 conversion macros, CW2A in this case, no
need for USES_CONVERSION then.
/Magnus
- I don't necessarily agree with everything I say
|
|
|
|
|
Assuming that VC7 is being used.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Thats why i mentioned VC7 in the post.
/Magnus
- I don't necessarily agree with everything I say
|
|
|
|
|
use
_wtoi(...)
this accepts widechar bytes.
MSN Messenger.
prakashnadar@msn.com
Tip of the day of visual C++ IDE.
"We use it before you do! Visual C++ was developed using Visual C++"
|
|
|
|
|
If you use _ttoi, it will use ANSI or wide characters as required, depending on whether you are doing a Unicode build or not (ie if _UNICODE is #defined or not)
|
|
|
|
|
Is there ANY way that i can share the capture buffer of DirectPlayVoice? Any help/pointer/hint/anything would be helpful. Thankx in advance.
-Tareq
|
|
|
|
|
could someone post the executable source code of c++ encryption & decryption??
thanks in advance
|
|
|
|
|
"XOR encryption" doesn't exist, but I think you meant applying the key directly using the XOR operation to a buffer. Note that this way of "encrypting" something is VERY insecure and can be cracked on every computer in a few seconds (of course, if you use XOR encryption as a one-time-pad it cannot, but that's another thing).
Here's a source code snippet of using key-XOR to encrypt a buffer:
void XorEncryptDecrypt(unsigned char *pBuf, unsigned long uBufLen, char *pszPassword)
{
unsigned long i;
unsigned long j = 0, uMaxKey;
uMaxKey = (unsigned long)strlen(pszPassword);
for(i = 0; i < uBufLen; i++)
{
pBuf[i] ^= (unsigned char)pszPassword[j];
j++;
if(j == uMaxKey) j = 0;
}
}
This function encrypts and decrypts a buffer (i.e. there aren't two different functions for either encrypting and decrypting). But again: this method is very insecure. If possible, search the web for AES or Rijndael, that's a very secure cipher.
Best regards,
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
size_type rfind(E c, size_type pos = npos) const;
What exactly the rfind function does, explain with example
|
|
|
|
|
don't you want to have a look at the MSDN ?
TOXCCT >>> GEII power
|
|
|
|
|
|
Is it possiible to set font for not integer size ?
i.t font size = 10,556,
and it shows whith pixel precision, but not font interger precision ?
thanks
|
|
|
|
|
Hi
I had download one sample from Codeguru of Loading resource from .dll in main applications this is it's link :-
http://www.codeguru.com/Cpp/W-P/dll/article.php/c3637
In this sample Author has Made one MDI application in .dll and calling it's from Main application .In this .dll all resource in this .dll.
Now My question is How to Maintain Class information from .dll ? Because Like OnitDialog:: or OnMouseButton Event will included with dialog and dialog is in .dll But i dont' want to add events in .dll because it'll be same like .exe ...
I want to load only resource from .dll and for otherfucntion i want to add in main applications Because My project is Big ..So i want to add some directx function in Main application and resource will be .dll
So how can i do ?
thanx
|
|
|
|