cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to check hour in textbox:<
how to check hour in textbox:<
Feb 5, 2011 at 12:42pm UTC
alwayslags
(9)
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
textBox1->Clear();
SYSTEMTIME st;
GetSystemTime(&st);
textBox1->Paste("%dnHour",st.wHour);
I want to show only hour in textbox. I'm sure there is bug with Paste, but i dont know what should i use, help me:<. Oh and btw how to do to use UTC time:< help pls!:)
Last edited on
Feb 5, 2011 at 12:42pm UTC
Mar 2, 2011 at 2:36pm UTC
alwayslags
(9)
sum1?:S
Mar 2, 2011 at 2:39pm UTC
hanst99
(2869)
The top part uses pascal pointer notation- mistake? In C/C++, pointers are indicated with *.
http://msdn.microsoft.com/en-us/library/ms724390%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms724950%28v=vs.85%29.aspx
read this.
Topic archived. No new replies allowed.