Thread: int to a (double*)???

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    44

    int to a (double*)???

    Hi,

    I'm doing something royally stupid here, but I can't see what I'm missing...

    I'm wanting to convert an integer to a (double*):

    lfl.erase(RDP_LST_FL.GetCurSel());

    lfl is a vector declared as follows:

    vector <double> lfl;

    and the RDP... is just an MFC list box. Is there some alternative to this idea of removing this element then?


    Thanks,
    Uni

  2. #2
    i want wookie cookies the Wookie's Avatar
    Join Date
    Oct 2002
    Posts
    455
    If you get the handle I'm not sure, but maybe you can use this

    BOOL ListView_DeleteItem(

    HWND hwnd,
    int iItem
    );

    its a macro in windows.h iirc

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. memory leak
    By aruna1 in forum C++ Programming
    Replies: 3
    Last Post: 08-17-2008, 10:28 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. getting a headache
    By sreetvert83 in forum C++ Programming
    Replies: 41
    Last Post: 09-30-2005, 05:20 AM
  4. Quack! It doesn't work! >.<
    By *Michelle* in forum C++ Programming
    Replies: 8
    Last Post: 03-02-2003, 12:26 AM
  5. easy if you know how to use functions...
    By Unregistered in forum C Programming
    Replies: 7
    Last Post: 01-31-2002, 07:34 AM