|
toxcct wrote:
doe this work while pushing backspace ???
I believe Nope!, thats the logic only,Buddy!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
so be sure not to have too big fingers (to avoid typing wrong passwords - 2 letters in 1 press )...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
so be sure not to have too big fingers
:->
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Thank You Very Much Sir.
I appreciate that.
|
|
|
|
|
aaah.....;)....i dunno if u have found out an answer.....if u havent ...try thiz out.....
#include<iostream.h>
#include<conio.h>
void main(void)
{
char passw[50];
char ch;
int i;
clrscr();
cout<<"Enter the password: \n";
i=0;
while( (ch=getch())!=13 )
{
if(ch==8)
{
if(i>0)
{
i-=1;
cout<<(char)ch;
cout<<" ";
cout<<(char)ch;
}
}
else
{
cout<<"*";
passw[i]=ch;
i+=1;
}
}
passw[i]=NULL;
cout<<"\n\n\n\n\n";
cout<<passw;
getch();
}
hope thiz helpz.....;)
cheerz.....
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Thanks a Lot for your solution.
Thank you
Cheers.
|
|
|
|
|
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Hello
I would really appreciate any help on this...
Is there any event or notification after the ShowWindow() function call?
Is there any message indicating that the window has been shown for the first time?
Thanks!
|
|
|
|
|
WM_WINDOWPOSCHANGED
WM_WINDOWPOSCHANGING
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Is there any message indicating that the window has been shown for the first time?
CWnd::PreCreateWindow method is called by the framework before the creation of the window attached to this CWnd object
|
|
|
|
|
The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown. There isn't a special message sent for the first show, so you'll have to keep a flag in the C++ class keeping track of whether WM_SHOWWINDOW has been sent before with wParam ==TRUE .
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD
|
|
|
|
|
Thanks a lot for your help, guys!
|
|
|
|
|
I have to write a Vxd in C/C++ (using win 95 DDK ).Please help me with the following
1> What code to write to register a fake port.
2> What is the importance/role of deviceIOControl Interface?
3> I am unable to co-relate the terms deviceIOControl Interface, VCOMM,VMM,Control messages, port virtualisation, control messages....
Please Tell me why
|
|
|
|
|
Why don't you studdy the DDK?
Don't try it, just do it!
|
|
|
|
|
I need some tips to debug my MFC app. When I close my application it (sometimes) still appears as a running app in the Task Manager. My app is quite big and I’ve not myself written all the code. Where should you start figuring out the problem? I’ve read a lot of Articles in this topic but I cant find any really good one for my problem.
Should I use any kind of Tool or… All tips are welcomed!
_____________________________
...and justice for all
APe
|
|
|
|
|
d00_ape wrote:
When I close my application it (sometimes) still appears as a running app in the Task Manager.
Often this is because your program creates one or more additional threads that were not shut down. They are still running, so your application is still in Task Manager, even though the main GUI thread has ended.
|
|
|
|
|
The strange is I'm not creating any new threads. I've figured if the reason is that I'm not properly closing down all dialogs (Created with CWnd::Create). Could that be the reason?
_____________________________
...and justice for all
APe
|
|
|
|
|
please help me to solve this problem
i am using the ShellExecuteEx to open a text file but an error occures
ERROR_ACCESS_DENIED if the os is NT.
thanks
|
|
|
|
|
1) Check the permissions on the file
2) Make sure you're setting the cbSize variable:
blah.cbSize = sizeof(SHELLEXECUTEINFO);
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
How to convert char * to const char * ?
LPSTR s1;
LPCSTR s2;
s1 to s2
Thank you.
|
|
|
|
|
You don't have to. The conversion is done automatically.
|
|
|
|
|
LPSTR smenu;
GetMenuString(hmenu_options_thread1,uIDCheckItem,smenu,0,MF_BYCOMMAND);
MessageBox(hWnd, smenu,"Thong bao",MB_OK);
It appear an error, why is it ?
Thank you.
|
|
|
|
|
microsoftcertificate wrote:
LPSTR smenu;
Buddy, you forget to provide memory to smenu .
microsoftcertificate wrote:
LPSTR smenu;
GetMenuString(hmenu_options_thread1,uIDCheckItem,smenu,0,MF_BYCOMMAND);
MessageBox(hWnd, smenu,"Thong bao",MB_OK);
Right code will be something like this
LPSTR smenu=NULL;
int nSize=GetMenuString(hmenu_options_thread1,uIDCheckItem,NULL,0,MF_BYCOMMAND);
smenu=new TCHAR[nSize+1];
GetMenuString(hmenu_options_thread1,uIDCheckItem,smenu,nSize,MF_BYCOMMAND);
MessageBox(hWnd, smenu,"Thong bao",MB_OK);
if(smenu)
{
delete []smenu;
smenu=NULL;
}
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
|
microsoftcertificate wrote:
Thanks.
Mention Not Buddy!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|