Home > Software engineering >  My small white, instruct how to transplant the written program to MFC
My small white, instruct how to transplant the written program to MFC

Time:09-24

Program like this thread https://blog.csdn.net/xiaoxinyu316/article/details/21998241 (to borrow a great god, please forgive)
MFC interface using dialog box can be implemented

CodePudding user response:

Done, you begin with simple, familiar with the controls

CodePudding user response:

Almost don't need any modification can be transplanted to MFC, as long as the modification and display relevant code, of course, you must attribute the MFC programming first

CodePudding user response:

Possible, the program can be directly copied into the MFC, just need to add a few controls, and control event handler, very simple, it is good to learn MFC dialog box procedure, have time to see the chicken peck rice, very basic, no time on the Internet to find a MFC dialog routines to see will be the

CodePudding user response:

QueryPerformanceFrequency () the timing function can also be directly into the MFC with?

CodePudding user response:

reference worldy reply: 3/f
almost don't need any modifications can be transplanted to MFC, as long as the modification and display relevant code, of course, you must attribute the MFC programming


QueryPerformanceFrequency () this function can be directly used in MFC?

CodePudding user response:

refer to 6th floor Kus_Aus response:
Quote: refer to the third floor worldy response:

Almost don't need any modifications can be transplanted to MFC, as long as the modification and display relevant code, of course, you must attribute the MFC programming


QueryPerformanceFrequency () this function can be directly used in MFC?


Completely no problem

CodePudding user response:

QueryPerformanceFrequency is API, under Windows are available

CodePudding user response:

refer to 6th floor Kus_Aus response:
Quote: refer to the third floor worldy response:

Almost don't need any modifications can be transplanted to MFC, as long as the modification and display relevant code, of course, you must attribute the MFC programming


QueryPerformanceFrequency () this function can be directly used in MFC?


Can, this is the standard library API functions

CodePudding user response:

The building Lord if don't know the condition of the function call, can search on MSDN, see the inside of the case contains the header files

CodePudding user response:

Mainly display problem, button is equivalent to a function, use controls you input the value of the import, and then output to the display control on line
  • Related