Waitrud Weber’s blog

things and reminders for memories

2018-05-01から1ヶ月間の記事一覧

Proposal 010

1. Choose Something word.2. Type word.3. If you type esc, the screen to main menu. I'm pleasure if you download the below.https://github.com/WaitrudWeber/source_zip/blob/master/winmain-20180525.zip Plese reffer to the below for compilation…

Proposal 009

// 20180521We must use WM_KEYDOWN and WM_KEYUP if we want to add the cotrols of arrows on keyboard to software keys.You can use the below if you have comon sense. I'm pleasure if you download the below.https://github.com/WaitrudWeber/sourc…

Proposal 008

// 20180519I've created ButtonControler and we can not mouse-click but use keyboard select.Please compile the below and push keyboard if you don mind. https://github.com/WaitrudWeber/source_zip/blob/master/winmain-20180519.zip Plese reffer…

Proposal 007

This is the proof, after you push any keyboard, "WINAPI _tWinMain" is called. https://github.com/WaitrudWeber/source_zip/blob/master/20180517.zip I created button controller in WM_CREATE in Wnd_Prc which is the main window procedure, but i…

Proposal 006

By gnu compiler, sprintf does not work too but atoi could work.I could, 1. display button.2. get keyboard input. so, I would control software with keyboard. I pushed "l" on the keyboard. I'm pleasure if you download the below.https://githu…

Proposal 005

Keyboard Input works well in visual studio."swprintf" which can be compiled did not work.I did not use hook but WM_CHAR in windows procedure. switch (message) { case WM_CHAR: // for debug. the below could pick up the event when I pushed ke…

Proposal 004

I could not use keyboard hook on the windows API using migwc++ compiler.I'm sure that I did not make the mistake of that coding. So, I required any other reasons of that problem, and tried to code using visual studio but still could not so…

Proporsal 003

In java swing source code, button needs size and message.In the following way, the message is "Click Me..". https://beginnersbook.com/2015/07/swing-jbutton-class/ Anyway, compiler can recognize Class of C++.So, I created it like the button…

Proposal 002

Usually, buttons are constructed with a rectangle and a message.So, I drew them.Next we could draw a button even when we would like to use button. ----------------- button.h --------------------#include <tchar.h>#include <Windows.h>#include <windowsx.h> #include "button.</windowsx.h></windows.h></tchar.h>…

Proposal 001

Design means 1. Drawing art 1-1 Drawing shapes 1-2 Drawing font (which is basically important for sending infomation. we usually click buttons which have font on the software.) The art has the role which sends message to software users and…

Windows make 000

The file systems between Windows and Linux are different.MinGW can have permission on mingw console.On Windows PowereShell we can not link libraries under MinGW/lib because we can not have the above permision. > mingw32-make allmingw32-g++…