He teaches C++ in the first half of the book and Windows Programming in the second half. He's still uses MFC for most of the book (which is a good thing IMO) but he has adapted and incorporated WinForms and some managed code for those who want it.
I've been very impressed with his teaching style and his choice of topics to cover.
I using Window CE API WriteFile() to write some barcode data to a file. Data is scanned and written to file ok. Problem is everything is on one line. How can I get the data in the file to be
line based. In other words, everytime I write to the file it writes a new line.
I am terribly confused about how to move CWnd objects around. With screen coords, client coords, dialog units, screen units, AaaRGh.
I have dialog app with button controls. From the OnSelect function of the buttons I am calling another popup dialog of my own making. I want to position the popup dialog so it obscure certain areas of the main dialog.
I am trying to use CWnd::MoveWindow() to move my popup dialog in the OnInitDialog() function to a position relative to the top left postion of the main dialog.
Which methods should I be using to get the main dialogs position to calculate coords for the MoveWindow() function in the correct units. A small example would be useful. Has anyone made a small Class to handle all this confussing translation between all the possible units and coordinte references ?
Hi i am new to vc++6.0 and i want to get menu item text which clicked by user.i tried with WH_GETMESSAGE hook and able to get menu item text for notepad,wordpad...but when i tried with vs2005 no WM_COMMAND is generating when i visit the menu item or clicked?
please tell me the way how we can get the menu item text for these application...is it not possible with hooking? from past one week i am searching for this...
Copies the label of the specified menu item to the specified buffer.
Well you said you know how to connect to remote SQL so I assumed that you know about all parameters except host name.
No you dont necessarily have to create a separate user and password for every database. You can create a user in MySql and then assign it permissions to access a database. You can download MySql Gui Tools[^] to easily create users and databases.