|
how i can do this with visual studio.net
thanks for yor reply
|
|
|
|
|
Sorry but I only have vs6 so can't help.
|
|
|
|
|
On Win9x it disables the keyboard
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)
|
|
|
|
|
Good point !!!! hahahahhahaha
Written by: Rafael Fernández López.
void life ( bool me, bool her )
{
while ( her )
{
me = true ;
}
else
{
me = false ;
} }
|
|
|
|
|
How to add an ifstream (or fstream) object into function as a parameters.
|
|
|
|
|
first: one post is enough!
void foo( fstream &fs )
{
...
}
fstream is a class, so handle it like one!
Don't try it, just do it!
|
|
|
|
|
How to add an ifstream (or fstream) object into function as a parameters?
|
|
|
|
|
Is there a way to change the size of the Icon Rect (and Text rect if that's possible) of a item in a CListCtrl in Icon mode.
I have a ownerdrawn listcontrol, but want Icons of different sizes in my control. I can set the icon size to real big, but then I have to do the sorting myself.
-------------------------------
Greetz,
MG
|
|
|
|
|
Load icons this way:
<br />
HICON my_icon = (HICON)LoadImage(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDD_MY_RESOURCE),IMAGE_ICON ,16,16,0);<br />
Hope it helped.
Rafael Fernández López.
I didn't fail hundred times, I found hundred ways that didn't work.
No fallé cien veces, encontré cien maneras de que no funcionara.
|
|
|
|
|
Don't think that's what I'm looking for.
I'll tell something more about the project.
I've got some icons in my CListCtrl, they are painted via GDI+. Instead of using the standard icons the end user can substitute the icon with a image file. Say a PNG file. This image can have a different size than the icon.
And if it is possible, I'd like to place the text at the right side of the icon.
-------------------------------
Greetz,
MG
|
|
|
|
|
Oh well, you could get CListCtrl rect as a window one, and then modify it and set that rect, or with GetSubItemRect, for example, or GetItemRect.
That way you will be able to modify rectangles into the control.
Hoping it helped...
Written by: Rafael Fernández López.
void life ( bool me, bool her )
{
while ( her )
{
me = true ;
}
else
{
me = false ;
} }
|
|
|
|
|
Tx for your really fast replies!!
But with GetItemRect I _get_ the rect; I want to _set_ it! So CListCtrl knows the different sizes of the items, so it can arrange it good. And so I can use that rect (and position) in the ownerdrawn function.
-------------------------------
Greetz,
MG
|
|
|
|
|
I am not sure, but I think that you can retrieve the rectangle that you want to make bigger and later modifying it, you will be able to set it into the control, there must exist different ways. I must leave now, in 2 hours or 3 I will come back and try to reply you. Bye for now.
Written by: Rafael Fernández López.
void life ( bool me, bool her )
{
while ( her )
{
me = true ;
}
else
{
me = false ;
} }
|
|
|
|
|
Using your Visual C++ tools - dependencies checker to check which DLLs are needed.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
hi, all
I'm into CMainFrame, using menu I how want to open a CScrollView... how!?
thanks
|
|
|
|
|
Hello,
when coding in inline assembly, an 'ax' register is 16-bit wide, an 'eax' can contain 32 bits, but what's the register name of a 64-bit register?
Thanks in advance
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)
|
|
|
|
|
its eax and edx
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
So there isn't a register "evolution" like from ax to eax? Isn't there something new like eeax?
Thanks for your reply
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)
|
|
|
|
|
the 64-bit register of EAX is called RAX.
Don't try it, just do it!
|
|
|
|
|
That's what I was looking for!
Thanks!
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)
|
|
|
|
|
64bit what? There are two completly different platforms. IA-64 has 128 64 bit integer registers and AMD64 has 16 64 bit registers. As far as AMD64 I don't believe there is any microsoft compiler support and you probably have to be running 64 bit windows XP which is currently only a beta version. I have the AMD64 docs and the registers are (RAX, RBX, RCX, RDX, RSI, RDI, RBP, RSP, R8, R9, R10, R11, R12, R13, R14 and R15).
John
|
|
|
|
|
you're talking too bragging... sorry
Don't try it, just do it!
|
|
|
|
|
No clue what you mean.
John
|
|
|
|
|
help me how to burn MP3 CD by VC
please give me some suggestion
|
|
|
|
|