|
Why you don't want to use StretchBlt.
I dont think it is possible to zoom with BitBlt.
Regards,
Sandip.
|
|
|
|
|
i am thinking of performance(both execution and memory). In performance wish which is best?.
In vc++ 6.0 i am using the BitBlt to zoom the image, but in vc++ 9.0 (mfc 9.0) i am not able to zoom the image through bitblt.
so i need to use stretchBlt to zoom the image in mfc 9.0?.
Thanks your reply.
|
|
|
|
|
Bernaad wrote: In vc++ 6.0 i am using the BitBlt to zoom the image,
How? BitBlt doesn't have any parameters to change the destination size.
BitBlt hasn't changed since way before VC6...
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
大家好!
怎么取得当前使用的计算机的用户名呢?
a beginner
|
|
|
|
|
大家 取得取得!!!
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
dick head, we speak english here (if you hadn't notice yet)...
BTW, have you seen this[^] ??
|
|
|
|
|
sorry ,I forgot
i want to know how can i get current user who is using the computyer 's name by API
a beginner
|
|
|
|
|
|
GetComputerName()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Which is completely different than GetUserName() .
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
|
When calling someone a loser, it's VERY important to
spell it right. Unless, of course, you meant "looser"...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
nope, i meant "Loooooooooooser"... get it ?
|
|
|
|
|
I don't get it. Get it?
Loooooooooser is much better.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
can that be in english?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
|
Rajesh R Subramanian wrote:
No, it will not be. MVPs should get directly in the person's soul and retrieve the question.[^]
actaully i given that power to you for sometime.. that's why you are so active
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
alphaxz wrote: 大家好!
怎么取得当前使用的计算机的用户名呢?
Google translation says -
Good!
How to use the current computer user name?
You could use the function - NetWkstaUserGetInfo() . For code snippet - check here[^].
Translation
您可以使用的功能- Netwkstausergetinfo( ) 。为程式码片段-检查在这里。
Well, please do not post questions in native language. Because those who can read it may not be able to answer it and those who can answer it may not be able to read it.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Jijo raj wrote: Well, please do not
Please do read other answers before posting too
|
|
|
|
|
toxcct wrote: Please do read other answers before posting too Poke tongue
I did before posting mine.
Tox, I went through the thread once again and i think i read the posts randomly. I've to be more careful while posting replies.
And i thought about giving the same advice to him once again. Its absolutely free.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
nevermind
|
|
|
|
|
I've got an error
error C2065: 'Netwkstausergetinfo' : undeclared identifier
a beginner
|
|
|
|
|
alphaxz wrote: error C2065: 'Netwkstausergetinfo' : undeclared identifier
Function name is incorrect!
- It should be NetWkstaUserGetInfo and not Netwkstausergetinfo
|
|
|
|
|
thank u very much
my mistakes
a beginner
|
|
|
|
|
I want to access all items/controls on the dialog box, how i can get In MFC in single for loop?
thanks
|
|
|
|