Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: Joneeky [x]
Answer 24 Apr 2013   license: CPOL
You just should call the function in 'OnPaint'.Like this:if (bHide) //Initialize 'bHide' as TRUE in constructor{ ShowWindow(SW_HIDE);}else{ ShowWindow(SW_SHOW);}In your thread,you can do this:bHide = FALSE;Invalidate();
Answer 24 Apr 2013   license: CPOL
Using "return TRUE;" after the "AfxMessageBox".
Question 29 Jan 2013   license: CPOL
I try to draw the texts in memory at first. Then copy the DC in memory to the window with BitBlt function. But this is not effective. What is the fault? Such these codes:DCD *pDC = GetDC();CDC dcMem;dcMem.CreateCompatibleDC(pDC);dcMem.SelectObject(&font);dcMem.SetTextColor(RGB(255,...
Answer 2 Dec 2012   license: CPOL
An object will be destoried after it works down. So you should use a point of object.CFont *m_pFont = new CFont;m_pFont->CreateFont(...);myEdit->SetFont(m_pFont);
Question 1 Dec 2012   license: CPOL
There are some groups of data:before encode: djVjM3R5emFuafter encode:...
Answer 7 Nov 2012   license: CPOL
MYSQL or MSSQL?If MYSQL, then I for a eg.(Is C but not C++):#include #include #include int main(){ MYSQL mysql; char sql[128]; char *host = "localhost"; char *username = "root"; char *password = "pwd7155807"; char *database =...
C++
Question 16 Oct 2012   license: CPOL
Thanks at the first.Like a music player, it can display bigger font for name of misic and smaller font for artist, and text-color can be changed by a member function, etc.Can you give me a link or mail([Email removed]) to me?Edit: Email removed. Do not post your Email on public forums...
Answer 16 Oct 2012   license: CPOL
You need to create a new thread to change the y direction. Call Sleep() in main thread is not effective. I want to give you an eg.. But I do not know the type of the "mtitlebar".
C++
Answer 18 Sep 2012   license: CPOL
TCHAR szExe[MAX_PATH];GetModuleFileName(NULL, szExe, sizeof szExe / sizeof TCHAR);szExe[strrchr(szExe, '\\') - szExe + 1] = '\0';if the EXE file is C:\Window\test.exe, then the value of szExe is "C:\\Windows\".You can see there is a '\' at last.
Answer 18 Sep 2012   license: CPOL
Give a example.char ch = '0';int n = ch - 48;Than value of n is 0.48 is the distance in ASCII table.
C++
Forum Message 6 Mar 2012  
Using WinInet - I tried to send some data to login a website.But its server need to check my cookie at the same time.If the cookie is not match,this login action will be faild.I called the CHttpFile
Forum Message 6 Mar 2012  
Yes,I just need it. Oh,god,thank you very much,my friend!
Forum Message 26 Feb 2012  
I had a test that to insert "\n" or "\r\n" into a string,but not effective. Do not support this style in vc6 default ctrl? Please help me.Thanks a lot! 下辈子美利坚。

Page 1 of 1


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid