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
A

AORD

@AORD
About
Posts
31
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • atoi?
    A AORD

    But what if you have a string like "us dollars $34cheap". TryParse gives 0 for the result. atoi would give 34. Is there anything in C# that does exactly what atoi does in C++?

    C# c++ question csharp

  • CListCtrl - Multiple selection from anywhere within the list
    A AORD

    Running the DragTest.exe on my XP work tablet the same problem occurs. I'm not sure we are talking about the same thing. :( I'm only multiple selecting using the mouse left button. I don't care about dragging at all, I just want to create a blue highlighted selection of rows. With the DragTest.exe the Index colum only is dragable I cannot create a multiple selection of rows unless i do the following steps: a) left click and hold the mouse button on the first columns blank area or anywhere after the last row or column. b) then I move the mouse to highlight the rows I want. This creates a rectangle (of dashed lines)that covers the first highlighted row from the start position of the mouse to the final position of the mouse. c) I release the mouse then the dashed rectangle disappears and a whole lot of rows remain highlighted in blue. The problem is when I have a big list say 20,000 rows and 30 columns the user can't always use the mouse to select a whole lot of rows.

    ___________________________ Here come the machines!

    C / C++ / MFC question

  • CListCtrl - Multiple selection from anywhere within the list
    A AORD

    Running the DragTest.exe (not building) I can only multi select with the mouse on the blank areas, this includes the blank area in the word column, BUT not the blank area in the index column. If you can and I can't multi select with the mouse on all of the populated columns it must be the windows file that contains the ClistCtrl? What version of windows are you running? I'm using XP.

    ___________________________ Here come the machines!

    C / C++ / MFC question

  • CListCtrl - Multiple selection from anywhere within the list
    A AORD

    Yes you are correct, i am using report view (sorry I should have mentioned :-O ). I have checked with examples at codeproject. e.g http://www.codeproject.com/KB/combobox/listctrldemo.aspx[^] click on the details tab for report view, try multiple selecting using the mouse from the Value or Time columns, you can't :(( :(( :(( :(( Any ClistCtrl using report only allows multiple selection from the left hand column :( . Single selection works fine. There must be an easy way allow a mouse drag selection from anywhere in the other populated columns?

    ___________________________

    C / C++ / MFC question

  • CListCtrl - Multiple selection from anywhere within the list
    A AORD

    Hi, I have a CListCtrl set to LVS_EX_FULLROWSELECT style. Using the mouse to create a multiple selection in a list control only seems to work when you select from the empty space in the first column. Is there an easy way to allow multiple selection from anywhere inside the list control?

    C / C++ / MFC question

  • What language???
    A AORD

    64k, was there a 64k machine or do you mean a 48k? Here come the machines!

    The Lounge c++ question

  • == vs =
    A AORD

    That made me laugh so hard I had to print it out and stick it on my wall! Here come the machines!

    The Lounge c++ visual-studio help

  • CString and Huge SQL Queries
    A AORD

    "A CString object can store up to INT_MAX (2,147,483,647) characters." That is what it says in the MSDN libraray.

    C / C++ / MFC database question

  • CButton SetFocus
    A AORD

    You are correct, it does have focus, but does not accept the enter key. I want to set the focus. See the replys below Many Thanks, AORD

    C / C++ / MFC question

  • CButton SetFocus
    A AORD

    Rajesh R. Subramanian wrote:

    It is not during InitDialog(),

    Correct. I want the user to press enter while the focus is on an CEdit control, then I want the focus to move to a CButton control. But the CButton control does not obtain its normal focus (as it would if the user had pressed the tab key). Yes toxcct & Mircea you are correct, the CButton does obtain a sort of focus by using GetDlgItem(IDC_MY_BUTTON)->SetFocus(); and the button is drawn incorrectly and nothing happens when the enter key is pressed (the space key works). ::PostMessage(hButton, BN_SETFOCUS, 1, 0); This works the same as GetDlgItem(IDC_MY_BUTTON)->SetFocus(); . PostMessage(WM_KEYDOWN, (WPARAM)VK_TAB); This strange because it moves the focus backwards, that is the focus does not follow the Layout Tab order, :omg: thats not expected. So I have changed the Tab order and now it works, but this is at odds with the tab order the user would expect :(. Thanks for the help :):):), It's not quite right, but is close.

    C / C++ / MFC question

  • CButton SetFocus
    A AORD

    Hi, I want to set the focus to a CButton control. I'm using GetDlgItem(IDC_MY_BUTTON)->SetFocus(); but it does not work. It works for CEdit controls but not CButtons. How can I set the focus to a CButton control?

    C / C++ / MFC question

  • Serial Port Monitoring
    A AORD

    Does anybody know where there is any freeware (i'm only a peasant :((:((:(() serial port monitoring software?

    The Lounge question

  • Do You Like C/C++
    A AORD

    Thanks but no thanks X| X| X| X| CodeProject is a million times better :):):):)

    C / C++ / MFC question c++ delphi database

  • OpenGL help (URGENT)
    A AORD

    Have you checked the order of your points (glVertex's) defining the cube? You could also try NeHe: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=05

    C / C++ / MFC tutorial graphics game-dev help question

  • Clicking on Line
    A AORD

    You could also try someting like GetPixel to find the colour at the mouse pointer.

    C / C++ / MFC question c++ graphics

  • Long term heat effects on PC's
    A AORD

    Thanks that is a good idea :). Athough I think it is fairly clean. Also I have used a vacuum cleaner for cleaning surface mount machines. Being static safe we used one with a metal hose end which had its own earthed.

    The Lounge question

  • Long term heat effects on PC's
    A AORD

    What about one of the first pentiums (100mHz)? Isn't that when heat issues really started to show?

    The Lounge question

  • Long term heat effects on PC's
    A AORD

    I have a client that is running a PC (100mHz machine X| ) in a cupboard with a ambient temperature of over 40 degrees C (+104 F) :cool:. It has been running non stop for a couple of years. Now they are having: Printing problems :(( Video signal problems :(( And the sometimes system lock ups :(( Would you expect the PC to be damaged by long term heat effects? :doh: Would reducing the ambient temperature by installing a fan in the cupboard stabilize the PC? :confused: Also the CPU runs around 52 C, the BIOS temperature alarms start at 52 degrees C :omg: .

    The Lounge question

  • How the Mars Spirit makes great photos
    A AORD

    I agree. What happens if this piece of dirt suddenly becomes uninhabitable? Humans we become extinct. Thousands of things could cause the destruction of the human race: Bacteria plagues, nuclear war, sun expansion, sun contraction, meteorites, comets, temperature changes, near by supernova radiation, alien invasions ……. We have all of our eggs in one basket. We need to go forward and conquer, we can learn massive amounts about the universe and ourselves by going to mars. Mind you I do think ultimately humans will be superseded by the machines we will make. And good job, perhaps they will be able to solve the big questions about the universe. So perhaps we should just go hard out making REAL intelligence. What is beyond the universe?

    The Lounge com

  • Ahhh Paris!
    A AORD

    Neat wish I was going. :((:((:(( You could always stay longer. Just adapt the machines code so it does not work then slink off saying "I need fresh air to think". :) How much time you can have off depends on your ability to deceive :sigh:, and their inability to understand programming :confused: . Just remember, before returning to work take a fresh mint and change your shirt to hide the smell of crazed french women.

    The Lounge
  • Login

  • Don't have an account? Register

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