Click here to Skip to main content
12,510,836 members (49,007 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++
Hy
Pleas say me what does equal these codes in win32 project ?

btnSave.Enable = False

and

if(txtPassword == "")
MessageBox.Show("pleas enter your password . ");
Posted 22-Sep-12 19:37pm
Updated 22-Sep-12 20:00pm
v2
Comments
   
No, thank you for asking. The question, unfortunately, does not seem to make any sense at all.
--SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

If I get your question properly:

This will tell you how to enable/disable a window:
http://msdn.microsoft.com/en-us/library/5kbfsahf.aspx[^]
In the second link look for the answer from SvenC:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/2f269c13-97ab-44e4-b853-17561dc90226[^]

And for messageboxes...
http://msdn.microsoft.com/en-us/library/3tt9e94f.aspx#Y0[^]

Oh, and to know if a string is empty or not...
http://stackoverflow.com/questions/4077940/c-check-if-string-is-empty[^]

Good luck...
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 23 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100