Click here to Skip to main content
15,886,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
RomanMzh22-Jul-09 17:21
RomanMzh22-Jul-09 17:21 
AnswerRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
chandu00422-Jul-09 19:30
chandu00422-Jul-09 19:30 
AnswerRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
Michael Schubert22-Jul-09 21:05
Michael Schubert22-Jul-09 21:05 
GeneralRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
#realJSOP22-Jul-09 23:26
mve#realJSOP22-Jul-09 23:26 
GeneralRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
_Maxxx_23-Jul-09 0:17
professional_Maxxx_23-Jul-09 0:17 
AnswerRe: i want to create MFC based project in visual studio c++ 2005 and want to run and see my window(such as add buttons, sample text boxes, and other control objects) that i have write code Pin
_Maxxx_23-Jul-09 0:11
professional_Maxxx_23-Jul-09 0:11 
QuestionSchedule events in C Pin
Member 70409922-Jul-09 11:00
Member 70409922-Jul-09 11:00 
AnswerRe: Schedule events in C Pin
malaugh22-Jul-09 16:10
malaugh22-Jul-09 16:10 
You mean code to create a thread?

just use

DownlinkThread = CreateThread(
NULL, // default security attributes
0, // use default stack size
Func, // thread function
0, // argument to thread function
0, // use default creation flags
&MsgThreadId); // thread identifier

The thread function is

WORD WINAPI Func( LPVOID lpParam )
{
while(1)
{
Sleep(30 * 60 * 1000);
}
return(0);
}

Substitute CreateThread with pthread_create and Sleep with uSleep for the Linux version
GeneralRe: Schedule events in C Pin
Member 70409930-Jul-09 10:36
Member 70409930-Jul-09 10:36 
QuestionHow to enable the Prev Page button in PrintPreview dialog? Pin
gshen22-Jul-09 9:11
gshen22-Jul-09 9:11 
Questioncreating a text menu from an ini file in C Pin
alleyes22-Jul-09 8:40
professionalalleyes22-Jul-09 8:40 
AnswerRe: creating a text menu from an ini file in C Pin
Adam Maras22-Jul-09 8:50
Adam Maras22-Jul-09 8:50 
GeneralRe: creating a text menu from an ini file in C Pin
alleyes22-Jul-09 9:05
professionalalleyes22-Jul-09 9:05 
QuestionRe: creating a text menu from an ini file in C Pin
Maximilien22-Jul-09 9:35
Maximilien22-Jul-09 9:35 
AnswerRe: creating a text menu from an ini file in C Pin
alleyes22-Jul-09 10:18
professionalalleyes22-Jul-09 10:18 
AnswerRe: creating a text menu from an ini file in C Pin
Jeremy Falcon22-Jul-09 12:37
professionalJeremy Falcon22-Jul-09 12:37 
Questionwhat is the equivalent command for adLogin.Recordset(0) which is in VB in VC++...Pls help Pin
kokilag22-Jul-09 8:19
kokilag22-Jul-09 8:19 
Question[mfc] start/stop other process Pin
rahuljin22-Jul-09 6:24
rahuljin22-Jul-09 6:24 
AnswerRe: [mfc] start/stop other process Pin
Rajesh R Subramanian22-Jul-09 6:55
professionalRajesh R Subramanian22-Jul-09 6:55 
GeneralRe: [mfc] start/stop other process Pin
rahuljin22-Jul-09 7:23
rahuljin22-Jul-09 7:23 
GeneralRe: [mfc] start/stop other process Pin
Rajesh R Subramanian23-Jul-09 7:50
professionalRajesh R Subramanian23-Jul-09 7:50 
GeneralRe: [mfc] start/stop other process Pin
rahuljin23-Jul-09 9:22
rahuljin23-Jul-09 9:22 
GeneralRe: [mfc] start/stop other process Pin
rahuljin22-Jul-09 10:05
rahuljin22-Jul-09 10:05 
GeneralRe: [mfc] start/stop other process Pin
killabyte22-Jul-09 15:18
killabyte22-Jul-09 15:18 
QuestionHow to set CTabCtrl background colour? Pin
risa0922-Jul-09 4:57
risa0922-Jul-09 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.