Open main menu

CDOT Wiki β

Changes

Project R0.1 20131- OOP344

367 bytes added, 17:13, 4 February 2013
Help
|-
|I need clarification as to what the backspace key should do given the *curPosition = 0 and the *strOffset != 0. Should the backspace key continue to delete characters by decreasing the offset, or should the backspace key simply sound the alarm()? I have posted the code on my blog in case my explanation sucks. http://csho3.wordpress.com/2013/02/04/r-01-backspace-key/ -- csho3 || If *cuPosition = 0 and *strOffset > 0 , that means there are still things that can be deleted, However, it doesn't make sense to delete stuff you cant see. So the logic is: Shifting the offset to the field and then working from there. How much *strOffset to adjust?, I'll let you think about that. (if stroffset > field length?, stroffset < fieldlength?) - fjzhou
|-