Hi,
I have a Dialog app that has WM_ONMOUSEMOVE message map function created from which I catch a certain area of the window. When the cursor is over this area I wish to change to default arrow cursor with one of my own.
The problem that I have is that the code below compiles and runs, but...
Hi,
Would appreciate guidance on the following.
I have a dialog onto which I have a picture control with a bitmap loaded into it that will display an image of a portion of the earth - ie a map in other words.
I would like to be able to display a smaller image over that map to represent...
Hi,
As per my previous post I am having trouble with loading resources from a dll. This time it is a Bitmap that I want to grab and place in a picture box
Here's the code - guidance much appreciated.
As you can see I am simply taking the name of a resource only dll, saving the dll name as a...
Hi
I have created a resource only dll. When I call a string resource from it the messagebox comes up blank. Here's the code. I am not sure whether it is the typecast from char to CString that I have used. Any ideas appreciated.
void CDllImageDlg::OnOpenFile()
{
CFileDialog dlg(
true...
Hi,
My application involves a user wanting to view a set of images, one at a time, depending on which image was selected via a mouse click. Would it be best to embed the images in the exe file or do I enable them to be loaded from a data file? There will be a number of different sets of...
Hi,
In my HTMLView based app, there is a DialogBar resource template upon which there is a ComboBox control placed on it. In this Combo control exists defined choices. As you may know, no directly assigned variables are able to be created and assigned to the controls as happens in a normal...
Hi,
I have a HTMLview SDI with a couple of CDialogBars inserted. On the Bars, I have a couple of buttons which increases the count of an index int when clicked. On that action I want to be able to load a html document in the main window. I have been trying to get this done with the...
Hi,
I have an Access db which I want to embed into a standalone C++ application. I wish to be able to distribute the C++ App, without having to offer out a copy of the actual database with it. How would I go about making the data table(text + graphics) part of the C++ App. I want the users...
Hi,
I am trying to extract the cursor co-ordinates from the OnMouseMove(), but am unable to get the x y data from the CPoint type into a more usable int type. I am doing this as I want to be able to use the position of the mouse in a SWITCH{CASE} statement, and SWITCH doesn't accept CPoint...
Hi folks,
I have a Dlg with two picture controls in them - Pic1, Pic2 - and what I would like to be able to do is this :-When the mouse cursor is in a particular location of Pic1 (say the top half) an image is shown in Pic2. If the mouse is then moved to the lower half of Pic1, a different...
Hi folks,
Help with MSCOMM please. Setting up the commport for connection to a gps. Using mfcVC++ but not experienced enough to get to grips with my own classes etc. Have imported the ActiveX MSComm control into programme. Am using and so far set a dialog up to interact with the ports...
Hi all,
I have got a dialog project, and a single document interface project. I would like to be able to start the SDI from the dialog project via a button control. The button and message handler are setup but that is as far as I can get. Both projects are now in the same project!
Any help...
Hi Folks,
New to programming, so excuse if this is simple !
I want to be able to have a multi-dimensional array which is defined by the user. i.e. they input the number of dimensions used e.g. 1,2,3 or 4, and also input the size of the array e.g. 10 rows, 20 columns etc.
I see from the 'help'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.