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 strongm 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: *

  1. Realazad

    WRKLNK command

    A *PGM type object is not valid for any file system other than QSYS. What exactly do you want to do?
  2. Realazad

    How to embed MSDN with Visual Studio?

    Someone correct me if I am wrong, but I think VC6 does not understand any MSDN beyond January 2001...
  3. Realazad

    How to handle multiple dialog boxes with one class?

    Thanks Bones, I guess I have to do it the Two-Class way as you suggest. Thanks for responding. Regds
  4. Realazad

    How to handle multiple dialog boxes with one class?

    I have a class (derived from CDialog) that displays a dialog and processes the input. Now I need another dialog that has many similar properties to the one described above and should be opened instead, based on some criteria. I would like to handle both of these dialog boxes through the same...
  5. Realazad

    Another question on List Box

    Hi All, A little background about the problem - My MFC Dialog based app uses a ListBox as a reservoir of data. I write my incoming transactions to this ListBox and if the user so wishes, I retrieve data from the selected entries (for variety of purposes - saving to file, copy to Clipboard etc)...
  6. Realazad

    A class similar to CString

    Thanx for the reply minhhoa. My problem relates more to the fact that CString will not work correctly with binary data (it will terminate at the first available NULL). Because of that, I am unable to use it with data obtained from binary files (like PDFs, DOCs etc). I like CStrings because of...
  7. Realazad

    A class similar to CString

    Hi all, in my current work so far I have been using CStrings extensively, but now I am told that my data is not restricted to strings and can be any kind of "byte". Does anyone know of a class or has example that works similar to CString (in terms of functions etc) but works on...
  8. Realazad

    String to integer - Please HELP

    Perfect, got it.... Thanks a lot Azad
  9. Realazad

    String to integer - Please HELP

    This may probably be too trivial but I can not think anymore and I am completely stuck. This is the problem - I am receiving a string (5 digits long) from another computer (over a socket), and I need to convert it to an integer like this - In String- "00275" Understand it as...
  10. Realazad

    Extracting an Item from a CListBox

    Normally you would do something like this... // Get the data of the selected item I = m_List1.GetCurSel(); where m_List1 is the List box.... then - // Get the string in a CString object nTextLen = m_List1.GetTextLen( I ); m_List1.GetText( I, data.GetBuffer(nTextLen) ); Now you have the...
  11. Realazad

    Problem with CSharedFile

    Hello everyone, Has anyone ever used the class CSharedFile. I was trying to implement the clipboard copy functionality (as I found in one MSDN article) that uses CSharedFile. My problem is that the compiler keeps giving me the "error C2065: 'CSharedFile' : undeclared identifier" error...
  12. Realazad

    Color of List box entries

    I found a solution in MSDN - Look here - faq116-2035
  13. Realazad

    Colored entries in List Box

    Taken directly from MSDN - ============================================================ Ask Dr. GUI #43 November/December 1998 List Box, Draw Thyself Dear Dr. GUI, Please forgive me if I am suffering from amnesia and have already bugged you about this.... I remember I was going to...
  14. Realazad

    Color of List box entries

    Hi All, I have a dialog based app consisting of a List box. I want to change the color of the entries that I add to the list box. Is it possible? How? Thanks a lot Azad
  15. Realazad

    Another List Box Question

    Perfect solution Thierry...So simple and so elegant... Exactly what I needed. Thank you so very much... Realazad
  16. Realazad

    Another List Box Question

    Hi All, I am new C++ programmer so please bear with me if I ask a basic (or stupid) question. I have written a dialogue based application in MSVC++, and it has, among oter things, a List Box. Everything else works OK, but when I add an entry to list box that is wider than the List box...

Part and Inventory Search

Back
Top