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
I

iayd

@iayd
About
Posts
90
Topics
46
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • changing windows language in the code
    I iayd

    Thanks Nemanja. That solved my problem.

    C / C++ / MFC question

  • changing windows language in the code
    I iayd

    I tried that.But it doesn't change the language.I want that when I achieve to change the language, I would be able to write in arabic to an editbox after I changed the language from english to arabic.I can do that manually by changing the language of windows by tabbing to alt + shift. Thanks

    C / C++ / MFC question

  • changing windows language in the code
    I iayd

    Yes I wrote similar questions but I coudn't get an answer.I am suprising to this because I asked several hard questions according to me to this forum and I got good answers until now.so I thought that the experts on visual c++ didn't see my question.But maybe I should try some other ways. Thanks

    C / C++ / MFC question

  • changing windows language in the code
    I iayd

    Do you have any helpful answer?

    C / C++ / MFC question

  • changing windows language in the code
    I iayd

    Hi, I want to change windows language in the code.How can I do that if that is possible? I wrote this code but I don't know if it should cahnge the language:

    WORD lang = MAKELANGID(LANG\_ENGLISH,SUBLANG\_NEUTRAL);
    DWORD LANGUAGE = MAKELCID(lang,SORT\_DEFAULT);
    ConvertDefaultLocale(LANGUAGE);
    

    Thanks, ibrahim

    C / C++ / MFC question

  • shell language
    I iayd

    Yes,I did everything you said.But it is not working still.I want to change the language (so the writing order) at the runtime.I am writing this code can you check if it is right.Heye I want to change the writing order of an edit box;

    CRect clientRect;
    m_edit.GetWindowRect(clientRect);
    ScreenToClient(clientRect);
    SetWindowLong (m_edit.m_hWnd,
    GWL_EXSTYLE,
    GetWindowLong(m_edit.m_hWnd,GWL_EXSTYLE) & ~WS_EX_RTLREADING);
    m_edit.SetWindowPos(&wndTop,clientRect.left,clientRect.top,clientRect.Width(),clientRect.Height(),SWP_SHOWWINDOW);

    Thanks, ibrahim

    C / C++ / MFC question linux help

  • shell language
    I iayd

    Hi, I want to write a program for Arabic language.But arabic is written from rigth to left.To set this property, I should set the WS_EX_RTLREADING ex-style.But in the msdn there is an information for this property like that: " If the shell language is Hebrew, Arabic, or another language that supports reading order alignment, the window text is displayed using Right to Left reading-order properties. For other languages, the style is ignored and not treated as an error. " When I set WS_EX_RTLREADING nothing changes.What is the meaning of shell language? If it is not Arabic how can I set the shell language to Arabic? I asked a similar question before but I couldn't get an answer. Thanks ibrahim

    C / C++ / MFC question linux help

  • Unicode
    I iayd

    Hi, I couldn't find the Environment tab at the Options part.Are you sure from that? Thanks

    C / C++ / MFC c++ question csharp visual-studio help

  • Unicode
    I iayd

    Hi, I want to write a sentance in Arabic in the development tool (Visual Studio 6.0) and I want to display it in a messageBox.But I couldn't write any thing in Arabic although I can write in a MS word document.I changed the language of visual c++ to Arabic by setting Project-Settings-Resources-Language tab.That did not solve my problem.Do you have any suggestion for that?How can I write in Arabic to the MessageBox? Thanks ibrahim

    C / C++ / MFC c++ question csharp visual-studio help

  • soft input panel
    I iayd

    Hi, I am programming for Windows CE 5.0 by using evc++ 4.0.I want to ask that how can I create a soft input panel.I am not so experianced so I want only to see the keyboard on the screen by the simplest way.Is that possible? Thanks, ibrahim

    Mobile question c++

  • WS_EX_RTLREADING
    I iayd

    Hi, I want to make a program for Arabic language.I know that arabic is written from right to left.I tried some ways to do that but I was not successful.I think this code should do that:

    m_edit1.ModifyStyleEx(NULL,WS_EX_RTLREADING);

    But it is not working.What could be the problem?Is there any way to make right-to-left everything on the screen? Thanks, ibrahim

    C / C++ / MFC help question

  • How to see an Arabic letter on an edit box?
    I iayd

    Hi all, I want to test that is my PDA supporting Arabic language? I wrote this code;

    CString str;
    for(int i = 1500;i<1800;i++)
    {
    	str.Format(\_T("%s %c"),str,i);		
    }
    m\_edit.SetWindowText(str);
    

    But I know that %c does not get 2 bytes.So it is getting the first Byte of an unicode and does not display an Arabic letter if the OS is supporting it.How can I see an Arabic letter? Thanks

    C / C++ / MFC question tutorial

  • How to fix a window at the top?
    I iayd

    That didn't solve my problem.I think it will be better if I write the code sample. Creating the dialogs as global.

    pKeyboard = new CKeyboard;
    pKeyboard->Create(IDD_KEYBOARD,this);
    ::SetWindowPos(pKeyboard->m_hWnd, HWND_TOPMOST,0,0,cxScreen,2*cyScreen/5, SWP_SHOWWINDOW );

    pPhoneEditor = new CPhoneEditor;
    pPhoneEditor->Create(IDD_PHONEEDITOR,this);
    pPhoneEditor->SetWindowPos(&wndTop,0,0,cxScreen,cyScreen,SWP_HIDEWINDOW);

    Is there a problem in this code?

    C / C++ / MFC question help tutorial

  • How to fix a window at the top?
    I iayd

    But I want that I can push a button or write something to an editbox in the first dialog box while the second dialog is on the top.When I create the dialog box as modal I think that I cannot use the first dialog box?

    C / C++ / MFC question help tutorial

  • How to fix a window at the top?
    I iayd

    Hi, When I create the dialog box (second dialog) in the first dialog box it stays always above the first one. I can push to a button in the first dialog box while the second one stays above it.But when I create them at the begining of the program in the main dialog box (main dialog box is different than the first dialog box) then if I touch to the first dialog box the second one goes below the first one.How can I fix the second dialog box above the first dialog box when I create them at the beginning of the program? Thanks ibrahim

    C / C++ / MFC question help tutorial

  • GetActiveWindow()
    I iayd

    Hi all, I faced with an intresting event about GetActiveWindow() method. When I call the code blok below by clicking to a button, I can see the messagebox as "asdasd". But when I call the code blok in a worker thread I cannot see the messagebox.

    CWnd *wnd;
    wnd = GetActiveWindow();
    if(pDlgb == wnd)
    MessageBox(_T("asdasd"));

    What is the reason for that? Is there any body who can give me an advice about getting the active window in a worker thread? Thanks, ibrahim

    C / C++ / MFC question

  • Get focus
    I iayd

    Hi, I have many dialog windows in my program.Some of them are child window.I want to know that which button has the focus in a certain time.Actually,I want to do that the button will be pressed which has the focus in a certain time.How can I do that? Thanks, ibrahim

    C / C++ / MFC question

  • Windows CE emulator
    I iayd

    Hi, I want to run my program in an emulator.I am using evc++ 4.0. My cpu is Armv4i.The OS of the device is Windows CE 5.0. The program is working in the device but it didn't work in the emulator (Windos CE 5.0 Emulator).this is my first time to use an emulator so what can I do to run the program? When I try to run the exe file in the emulator which is working in device, it is giving an error like that "test.exe is not a valid windows CE application" Thanks, ibrahim

    Mobile c++ help question

  • WinCE Database
    I iayd

    Hi, I created a database by using CCeDBDatabase class in embedded vc++. But I couldn't change the sort order of the database.How can I do that? I tried some ways that is written in the content,however that is not work. Thanks ibrahim

    Mobile question c++ database hardware

  • Modal dialog box in thread
    I iayd

    Hi, I want to create a Modal dialog box in a worker thread.But when I close the modal dialog box, all the program is shutting down.What can cause to this? How can I create a modal dialog box in a worker thread? In addition to that I tried to create a modal dialog box in a worker thread for Windows and it worked fine. So I think that the problem is about Windows CE? thanks

    Mobile question help
  • Login

  • Don't have an account? Register

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