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.
So let me get this right, you open a tif file, draw a rectangle on it that is suposed to overlap some part of the picture and then you save the image to another file, right? (Btw why do you specify Gdiplus::ImageFormatBMP for the Save call while you are trying to save a jpg?) Your problem is that not the part of the image is overlapped you want? Why don't you move the rectangle then?
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
Last Visit: 31-Dec-99 18:00 Last Update: 21-Sep-23 10:14