* Make the window visible on the screen */ HThisInstance, /* Program Instance handler */ HWND_DESKTOP, /* The window is a child-window to desktop */ WS_OVERLAPPEDWINDOW, /* default window */ĬW_USEDEFAULT, /* Windows decides the position */ĬW_USEDEFAULT, /* where the window ends up on the screen */ 544, /* The programs width */ 700, /* and height in pixels */ _T( " EXAME DE SÍNCOPE VASOVAGAL"), /* Title Text */ * The class is registered, let's create the program*/Ġ, /* Extended possibilites for variation */ * Register the window class, and if it fails quit the program */ if (!RegisterClassEx (&wincl)) Wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND Wincl.cbWndExtra = 0 /* structure or the window instance */ /* Use Windows's default colour as the background of the window */ Wincl.cbClsExtra = 0 /* No extra bytes after the window class */ Wincl.lpszMenuName = " Menu" /* No menu */ Wincl.hCursor = LoadCursor (NULL, IDC_ARROW) Wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION) Wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION) Wincl.style = CS_DBLCLKS /* Catch double-clicks */ Wincl.lpfnWndProc = WindowProcedure /* This function is called by windows */ WNDCLASSEX wincl /* Data structure for the windowclass */ /* The Window structure */ MSG messages /* Here messages to the application are saved */ Int WINAPI WinMain (HINSTANCE hThisInstance, TCHAR szClassName = _T( " EXAME DE SINCOPE VASOVAGAL") * Make the class name into a global variable */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM) #include #include #include #include #define BUTTON1 1 #elif defined(_UNICODE) & !defined(UNICODE) #if defined(UNICODE) & !defined(_UNICODE) ![]() Verificar o Erro de porque de ve em quando ele recebe dados diferentes ![]() ![]() Verificar o Erro de quando clica duas vezes na tela * - Comunicaçao Serial Entre o Microcontrolador e um Computador - */ /* - Recebe Dados do Microcontrolador e Plota - */ // To Do:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |