|
If your writing a common desktop application with no strict speed requirements, i recommend MFC. I like win32 sdk very much but when times get rough, its nice to have plan B.
"You have to be in a situation where you see just how fast things fail to make you take it seriously, I guess. " Bruce Eckel
|
|
|
|
|
Hi,
I have some problem with inline asm!I cannot use any interrupt!Example,when
i write :
__asm
{
//some codes in here
INT 21h
};
When i run the program,it alway return error! (No warning or error when i compile source code)
|
|
|
|
|
User mode programs should only be allowed to use __asm INT 3 (user breakpoint). The rest INTs are allowed to be used in kernel mode (AKA drivers).
Maxwell Chen
|
|
|
|
|
HI
I WANT TO KNOW ABT TAB CONTROL. I READ IN MSDN BUT IN THAT THEY CREATE TABCONTROL WITH CREATE STATEMENT
BUT I USE IT FROM CONTROLS AND NOW I WANT TO USE THIS BUT IT SHOW NO TAB ONIT .HOW TO USE TAB CONTROL
THANKS
Ashish Dogra
MCA
Noida
|
|
|
|
|
|
as i use three tabs now when i click on one color changed where i put code for this or what function i have to use
Ashish Dogra
MCA
Noida
|
|
|
|
|
as i use three tabs now when i click on one color changed where i put code for this or what function i have to use
If you want to change the color handle the OnSelChange message handler
void Ctabeg::OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult)
{
// TODO: Add your control notification handler code here
*pResult = 0;
}
-- modified at 7:06 Tuesday 18th July, 2006
|
|
|
|
|
What do you need and what do you want?
whitesky
|
|
|
|
|
i use tab control and now when i click on one tab it change color to red
if i click on second tab itm give color blue
now i made tabs by doing coding in oninitdialog function
now in which function i need to change color
i use foolowing code
m_tab.InsertItem(0,"BLACKRECT");
m_tab.InsertItem(1,"GRAY");
m_tab.InsertItem(2,"WHITERECT");
m_tab.SetCurSel(1);
Ashish Dogra
MCA
Noida
|
|
|
|
|
Are you using derived class?
whitesky
|
|
|
|
|
no iam not using derived class
i am using cmydlg class .
Ashish Dogra
MCA
Noida
|
|
|
|
|
Cool Ju
|
|
|
|
|
:->
Ashish Dogra
MCA
Noida
|
|
|
|
|
Why would you think that calling the InsertItem() method would have any effect on the control's color?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
i'm sorry, ,but i don't understand at all what you are saying.
you have to speak a better english if you wish some help.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
He was trying to say:
The Resource View initially does not contain categories (logical folders) such as "BMP" ...
Maxwell Chen
|
|
|
|
|
yes, how to add this folder"BMP" and the bitmap into this folder?
|
|
|
|
|
Right-click at the root of the Resource view, [Add] - [Resource].
Click Bitmap or something you like the button [Custom ...], then the resource manager will let you name the type.
Maxwell Chen
-- modified at 5:50 Tuesday 18th July, 2006
|
|
|
|
|
how about to add the bitmap file inside the folder?
|
|
|
|
|
when you add a resource, it places it in the correct folder...
so import your bmp and you will see the bmp\ folder appearing.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Yes, to import will have the chance to name the folder.
Maxwell Chen
|
|
|
|
|
when i import the bitmap file into "BMP" folder, it auto add into the folder "Bitmap"
|
|
|
|
|
I guess he said right clickin resource Add resource ->Custom(Resource type)
whitesky
|
|
|
|
|