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: Lorey
  • Content: Threads
  • Order by date
  1. Lorey

    CBrush

    Hi experts, I have a software GUI which uses a lot Cbrush. Sometimes, all the monitor just went white except for all the buttons in my GUI. Is this a possible cause of CBrush? It does not throw any specific error. One time, when the pc went out of memory, the monitor just went white.
  2. Lorey

    Convert hex string to Chinese chars

    Hi experts! Is there a more decent way to convert below example hex strings to actual chinese chars other than code below? // sample hex string std::string str = "\\0030\\31\\70ED\\83AB\\6279\\5FD2\\004c\\0045\\0046"; const unsigned int MAX_LEN = 300; wchar_t* wStr = new...
  3. Lorey

    dialog refresh

    Hi experts! May I ask what's the solution if, whenever i minimize and restore the dialog, the dialog takes time to load all the controls. I gives me gray dialog at first. how to prevent this to happen. I know I have lots of things doing at the background.
  4. Lorey

    how to copy std::vector<CString> to std::vector<CString>

    hi experts, how to copy vector of Cstring to another vector of CString? I got an strcore.cpp exception in my code when it goes to UpdateData(const UpdateData& data) { this->trainId = data.trainId; this->track = data.track; this->location = data.location; this->rowText = data.rowText...
  5. Lorey

    EnableWindow does not work with OwnerDraw Listbox

    Hi Experts! I have a owner draw list box. But when I try to disable the window using .enableWindow(true) it does not work. What can I use?
  6. Lorey

    Hex value

    Hi Experts! Could somebody help me how to convert the "70" "ED" hex string character to actual 70 and ED value? FYI, i want to convert the 70ED to its corresponding chinese characters. thanks in advance! Lorna
  7. Lorey

    putting constraints

    Hi experts! Please help on the ff: I have an existing table : table1 with column: pkey1, pkey2, pkey3 I am creating a new table2 with column : pkey, pkey1 (which is the same as table1.pkey2) the problem is how can i put constraints on table2 that only table1.pkey2 with specific value...
  8. Lorey

    shortcut key

    Hi experts, how to add a shortcut key to call a specific function in my vc++ program, for example CTRL+E. This shortcut key should be invisible to the user so I cant use the accelarator like & in menu. Please help! Lorna
  9. Lorey

    std::wstring

    hi experts, i have a std::wstring variable and i want to loop thru it via iterator. what is the byte size of each character in std::wstring?
  10. Lorey

    convert Hex string

    Hi experts! Could you please help me convert Hex strings to real chinese equivalent? i.e. "\70ED\83AB\6279" to "???" Each set (separated by "\") is a hex string which can be converted to a chinese chars. Thanks!
  11. Lorey

    modeless dialog dont allow to move/drag - help!!

    Hi Experts! How to make a modeless dialog unmovable or cannot be dragged around. Because when i move it, it leaves a square shadow on the background thanks!
  12. Lorey

    Child Dialog - please help!

    Hi experts! I always call below function in my program. Is it right to always NEW and DELETE it? Also, when I close my child dialog by pressing OK button, my parent dialog doesnt refresh, meaning, my child dialog closes but it leaves a gray shadow in my parent dialog. One more thing, how can i...
  13. Lorey

    multiselect clistctrl items using ctrl + left mouse click key

    Hello, Please help on how to multiselect an item in clistctrl using CTRL key and left mouse key.
  14. Lorey

    dialog casting

    HI expeerts, Just want to ask how to cast a dialog to a specific dialog class i.e. cdialog1(cdialog3); cdialog1(cdialog2); inside the cdialog, i want to know what kind of dialog is passed. i want to know if its a cdialog3 or cdialog2 so i can cast it to correct dialog class;
  15. Lorey

    RegisterHotkey

    HI experts, Please help how to do this : I have a dialog with listctrl. i need to multi select an item by pressing the CTRL key and then selecting each item using a mouse (left button )
  16. Lorey

    how to check if a dialog is loaded

    Hi! How do i know if my dialog is loaded or not?
  17. Lorey

    std::copy or <vector>.push_back

    Hi! just want to know whats the best to use (std::copy or push_back) this: std::copy(buf.begin()+pos, buf.begin()+pos+length, data.begin() ) or : for (unsigned char size_t index=pos; index < pos+length ; index++) { data.push_back(getBufData(index)); } Also, do i really need to use...
  18. Lorey

    #define or typedef

    whats the best use of typedef and define
  19. Lorey

    how to create colored frame in window

    Hi Experts, How to create colored frame and button with colored edges
  20. Lorey

    Text String to Hex value

    Hi Experts! Do you know of an editor (free downloadable) where i can type any string like "volume=10" and it will automatically convert to hex value like "766F6C....

Part and Inventory Search

Back
Top