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
P

pantao551

@pantao551
About
Posts
17
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I get the ID of an activex control that the keyboard foucs staying at?
    P pantao551

    The axtiveX I used was "Microsoft Forms 2.0 OptionButton", and I created it in the MFC application.... But in the Resource.h file the activeX control has the id which is not 0.

    C / C++ / MFC question com

  • How can I get the ID of an activex control that the keyboard foucs staying at?
    P pantao551

    There are some activeX controls on my dialog, and I want to get the ID of the activeX control that has the keyboard focus. I use the function: GetWindowsLong(::GetFocus(), GWL_ID), But the return value is always 0. I put the fuction GetLastErr() after it, but the return value is ERORR_SUCCESS. Did I use the wrong fuction? And is there any other way to get the Id? Thanks!

    C / C++ / MFC question com

  • A question about the radio button
    P pantao551

    The key board is not standard. It has only number keys and moving keys like -> <- up down and enter. It does not have tab and system keys. I think I should ask my question like this: ^-^ Is there any way to make the controls of the dialog like radio button or check box highlighted when the focus of the keyboard is staying at them? Once again, my computer has no mouse. Thanks! -- modified at 5:21 Tuesday 14th March, 2006

    C / C++ / MFC question

  • A question about the radio button
    P pantao551

    My program will run on a computer without mouse. So it is very important to make everything obvious, Especially the focus of the keyboard. When I use the radio button, especially when the radio button is more than 10 in a dialog, it is difficult to find the focus.

    C / C++ / MFC question

  • A question about the radio button
    P pantao551

    Is there any method to make the focus more obvious when it is staying at a radio button? Because a very thin black dash squre line is not easy to find, especially when there are many radio button in the dialog. Thanks!

    C / C++ / MFC question

  • A question
    P pantao551

    What I wanted was moving the focus of my keyboard to another place as soon as the number of charactors in the editbox reaches 3. And I think what you told me can solve my problem. Thanks a lot!

    C / C++ / MFC question

  • A question
    P pantao551

    Thanks a lot!

    C / C++ / MFC question

  • A question
    P pantao551

    How can I make a message when the number of charactors in the editbox reaches 3? Thanks!

    C / C++ / MFC question

  • What can I do if I want the CEdit box only receive the numbers?
    P pantao551

    Thanks a lot!

    C / C++ / MFC question

  • What can I do if I want the CEdit box only receive the numbers?
    P pantao551

    I want my CEdit box only receive the number 0-9. And if other keys were pushed down, it will not be displayed in the CEdit box. What can I do? I looked up in the MSDN, But I didn't find any method.

    C / C++ / MFC question

  • How can I shutdown my computer in my VC++ program?
    P pantao551

    Thanks!

    C / C++ / MFC question c++

  • How to make my program run when my computer boots.
    P pantao551

    Thanks

    C / C++ / MFC tutorial

  • It seems that the MSComm can only transfer 40 bytes each time.
    P pantao551

    I use the activeX MSComm in my program. But when I send more than 40 bytes data, It will have the assert problem. In the OnComm() function, I found that it can only loop 40 times when Getting the element. But in the release mode, it seems to be OK. However, I can not use the release mode, because other parts of my program have to debug when programming. Have you ever met this problem? How did you solve it? Thanks!

    C / C++ / MFC com debugging help question announcement

  • How to access the I/O port under Windows2000
    P pantao551

    I know that in Windows95, we use the function _outp and _inp to access the I/O port. But they can't be used in Windows2000. What can I do? Should I have to use some software to develop a driver? :confused:

    C / C++ / MFC tutorial question

  • How can I set the focus to an specific item?
    P pantao551

    Thanks! I tried the method you told me, And it did work in the dialog. But when I tried this in a fromview, which contains the item I want to set the keyboard focus at, it didn't work. Because the OnInitialUpdate() function in the CFormView class doesn't have a return value. What can I do in this case? Thanks!

    C / C++ / MFC question

  • How can I set the focus to an specific item?
    P pantao551

    :) I have just asked a question the day before yesterday, And thanks to Alok and Jörgen Sigvardsson who gave me nice ways to solve my last question. Now I have got a new question to ask. Can I set the keyboard focus on a radio button when the dialog pop up? I use GetDlgItem(IDC_RADIO1)->SetFocus(); in the OnInitDialog(). But it didn't work. //IDC_RADIO1 is the ID of the radio button in the dialog //where I wish the keyboard focus to stay at when the dialog pop up Thanks!

    C / C++ / MFC question

  • How can I get the ID of the dialog item which own the focus?
    P pantao551

    :confused: My program can not use the mouse, And all the operation will be done by the keyboard. But I do not know how to get the ID number of the item which has the keyboard focus. Thanks!

    C / C++ / MFC question tutorial
  • Login

  • Don't have an account? Register

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