|
Is hWnd1 valid and it doesn't find the second one or is hWnd1 also null?
Greetings
Covean
|
|
|
|
|
In debug mode,hWnd1 isn't NULL,but the hWnd2 is failed.
|
|
|
|
|
Ok its good to know.
But are you sure the class of your MessageBox is really "#32770", cause if I
use spy++ on a MessageBox the class name is "#32770 (Dialogfeld)" (german app).
At last try to use FindWindowExA (the ANSI one), because I also developed an
app that has to find some windows and clicks it, but it only worked with the
ANSI version although the apps were UNICODE apps.
Greetings
Covean
|
|
|
|
|
I'm sorry, in my code ,the Class Name write error.
thank you very much !
Best Regurads !
|
|
|
|
|
hi all..
Is it possible to add bullets in each line of an editbox which is using CEdit class for display of text..
thanks in advance.. hav a gr8 day
|
|
|
|
|
May be a richeditcontrol will help you. Read this[^]
|
|
|
|
|
Hi Madhu..
Thanku so much for the quick reply...
i tried out the CAutoRichEditCtrl.. its workin perfectly...
i have one more doubt.. if i change my editbox to RichEditbox will that effect the CEdit variable.. wid that variable im doing a lot of stuff. saving ,opening of file, font selection etc...
plz let me know...
|
|
|
|
|
sonualex wrote: if i change my editbox to RichEditbox will that effect the CEdit variable..
I think yes, but please have a try.
|
|
|
|
|
help, i would like to know what was ARRAY is!!
please clarify!! thank you
|
|
|
|
|
Please go through this[^]
|
|
|
|
|
thank you so much!!!!
do you know some site for array using c language, not c++??
|
|
|
|
|
cool_joy2 wrote: do you know some site for array using c language, not c++??
Am not sure whether this may ruin you ; please click do a click here[^]
As suggested by the other posts, please consider reading some basic article/books in C or C++
|
|
|
|
|
no.. it doesn't ruin me!!
what you try to figure out is to search it in google right???
yah!! i know how to do it!!!
what i'm just asking for, whether you know some site which is in C not in C++ language discussion!!!
get it????
|
|
|
|
|
Please read more books on basics of programming as well as C.
Please do that first.
Величие не Бога может быть недооценена.
|
|
|
|
|
cool_joy2 wrote: help, i would like to know what was ARRAY is!!
Can you not use a dictionary? It's not even a programming-specific term.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
Can I pass a string with some %s in it as first parameter in printf/sprintf.
something like bellow
char str[16]="my name is %s";
char name[8]="xman";
char res[24];
sprintf(res,str,xman);
printf("%s",res);
can we achieve this?
Saadhinchaali
|
|
|
|
|
|
thank you David. It solved my problem
Saadhinchaali
|
|
|
|
|
Don't have access to a PC right now ?
|
|
|
|
|
of course
You know some birds are not meant to be caged, their feathers are just too bright.
|
|
|
|
|
sprintf(res,str,xman);
here xman is undeclared identifier..
|
|
|
|
|
suthakar56 wrote: here xman is undeclared identifier..
What do you expect? You did not declare that variable.
|
|
|
|
|
Tritva wrote: can we achieve this?
Have you tried?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
In my applcation,i have created two listbox in the view class.But initially only one listbox shoud be displayed,by pressing the button in menu..both first and second listbox will bedisplayed one below the another.
I do not know how to hide the listbox initailly.
int CAlarmView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
pAlrmListBox->Create(WS_CHILD|WS_VISIBLE|LBS_STANDARD|WS_VSCROLL|LBS_OWNERDRAWVARIABLE , CRect(0,0,600,400), this, ID_ALARMLIST);
.
.
pAlrmFilterBox->Create(WS_CHILD|WS_VISIBLE|LBS_STANDARD|WS_VSCROLL|LBS_OWNERDRAWVARIABLE , CRect(0,0,600,200), this, ID_ALARMLIST);
}
Anu
|
|
|
|
|
Remove WS_VISIBLE flag from Create(...). Use ShowWindow() API to make the listbox visible later.
|
|
|
|