Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: richsb
  • Content: Threads
  • Order by date
  1. richsb

    Changed Cursor not displaying

    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...
  2. richsb

    Overlaying an image on a bitmap in a dialog

    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...
  3. richsb

    Bitmap not loading into Picture control from a resource only DLL

    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...
  4. richsb

    Getting a blank for a LoadString from a resource only dll

    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...
  5. richsb

    bitmaps & Imagelist - file or embedded

    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...
  6. richsb

    CComboBox & GetCurSel();

    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...
  7. richsb

    LoadFromResource - HTML view

    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...
  8. richsb

    Embedding an Access db into a C++ programme

    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...
  9. richsb

    Èxtracting cursor co-ord's from CPoint

    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...
  10. richsb

    Dlg with 2 Picture controls, cursor on 1st shows image in 2nd

    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...
  11. richsb

    VARIANTS and their typecast

    Hi, Any clues as to what I should be using to change the type of a VARIANT into a CString ? Cheers Rich
  12. richsb

    MScomm ActiveX control in C++

    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...
  13. richsb

    Start an .exe from within another .exe (MFC)

    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...
  14. richsb

    HOW do you create a user defined array ????????

    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'...

Part and Inventory Search

Back
Top