Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

bhanu_reddy09

@bhanu_reddy09
About
Posts
11
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Update window problem in unicode
    B bhanu_reddy09

    Hello All, Good Evening, I converted my project from ANSI to UNICODE project. In the Unicode project, the values changing in a text doesn't reflect by itself and the textbox needs UpdateWindow() to be called whenever there is a change in it. But this kind of behaviour doesn't happen with the ANSI project previously. Can anyone advice on this ? Many thanks in advance. Bhanu

    C / C++ / MFC help question announcement

  • Unicode support in CEdit
    B bhanu_reddy09

    Dear ARJ, Many thanks for your reply. The real problem is that the above code will work only if we set the project properties to Unicode otherwise the above won't work. I want to display those control characters in CEdit without changing my main project's project setting to Unicode.

    C / C++ / MFC

  • Unicode support in CEdit
    B bhanu_reddy09

    Dear All, I want to disply the character ♠ in the CEdit but this only getting diplayed when I change the project settings to Unicode. But to display this single character, I need to change my entire project which seems a huge task for me. I planned to do some alternative for this. Is it possible to extend a CEdit class to display unicode characters and then to include that class to my main project without changing the existing settings of my main project. Please advice me. Many thanks in advance.

    C / C++ / MFC

  • Converting ANSI to UNICODE
    B bhanu_reddy09

    Yes, I got compiler warning but how to change the character 0x06 to Unicode and display properly in the CEdit. Thanks...

    C / C++ / MFC help

  • Converting ANSI to UNICODE
    B bhanu_reddy09

    Many thanks for your replies and suggestions. Actually I read a data from the serial device and it is having the ASCII value 6 and the corresponding character for 6 is '♠'. I just give the previous code as an example.

    //the actual data will be
    szData[0] = 0x06;//from a serial device

    Now, I want to display the corresponding character (received from serial device) for 0x06 in the CEdit. Please advice me.

    C / C++ / MFC help

  • Converting ANSI to UNICODE
    B bhanu_reddy09

    Dear All, I am having problem in converting ANSI to UNICODE but my code is not giving the desired result. Please have a look at the below code and advice me. When I compare the both strings, the strings are not equal after conversion. Please help me. Many thanks in advance.

    char szData[2] ;
    szData[0] = '♠';
    szData[1] = 0;
    wchar_t wszData1[] = L"♠";
    wchar_t wszData2[2];
    MultiByteToWideChar(CP_ACP, 0, szData, -1, wszData2, sizeof(wszData2) / sizeof wchar_t));
    if (wcscmp(wszData1, wszData2) == 0)
    MessageBox("Strings are equal!");
    else
    MessageBox("Strings are not equal.");

    C / C++ / MFC help

  • Facing problem while file reading
    B bhanu_reddy09

    It is non unicoded. For eg. è ë

    C / C++ / MFC help question

  • Facing problem while file reading
    B bhanu_reddy09

    Hello, Good Evening, I need to read data from the file ,which contains some special characters (in european languages).I need to read those data as it is and display those reading data in CEdit box,But what's my problem is while reading data some of the characters got changed.How can i read data as it is. Please help me out. With Kind regards, Bhanu

    C / C++ / MFC help question

  • List focus setting problem
    B bhanu_reddy09

    Hello All, In "ListCtrl" i need to set the focus of the Key Up&Down events,how can i set,please some one help me. With kind regards, Bhanu

    C / C++ / MFC help question

  • Ctreectrl problem
    B bhanu_reddy09

    Hello All, Iam using CTreeCtrl method to add items in a tree.Actually i create two root nodes using GetRootNode()method.I add both root nodes properly in the tree,But what's my problem is i need to add child nodes in appropriate parent(root)nodes at runtime.But,all the child nodes adding in the first parent(root)node only.once i use deleteallitems()method and redraw the tree only child nodes are added in appropriate parent(root)nodes.Without using DeleteAllItems() i need to add the child nodes in a appropriate parent(root)node. please anybody help me. Thanks in advance, Regards, bhanu.

    C / C++ / MFC help data-structures

  • problem with adding items using CTreeCtrl class
    B bhanu_reddy09

    Hello All, Iam using CTreeCtrl method to add items in a tree.Actually i create two root nodes using GetRootNode()method.I add both root nodes properly in the tree,But what's my problem is i need to add child nodes in appropriate parent(root)nodes at runtime.But,all the child nodes adding in the first parent(root)node only.once i use deleteallitems() and redraw the tree only child nodes are added in appropriate parent(root)nodes.Without using DeleteAllItems() i need to add the child nodes in a appropriate parent(root)node. please anybody help me. Thanks in advance, Regards, bhanu.

    C / C++ / MFC help data-structures
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups