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
J

jafrazee

@jafrazee
About
Posts
66
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • recordset question
    J jafrazee

    that is what i was originally thinking. but that again is what i was hoping to avoid. when you get to large files this function becomes slow. thank you.

    C / C++ / MFC question

  • recordset question
    J jafrazee

    it is a access database being accessed through odbc.

    C / C++ / MFC question

  • recordset question
    J jafrazee

    you know that may be what i want to do, but i can not find any documentation on it. what does that function actually do? and what does it required to be passed? thanks

    C / C++ / MFC question

  • recordset question
    J jafrazee

    yes, i am sorry i am most likely using the wrong wording for vc++. pack and zap are database terms. pack will permently delete all records marked for deletion. zap removes all records from the table. are there any mfc functions that do the same.

    C / C++ / MFC question

  • recordset question
    J jafrazee

    is there a way to pack or zap a recordset? or do i have to create an outside program?

    C / C++ / MFC question

  • show text in statusbar
    J jafrazee

    actually i have 2 threads. one for scanning or importing and the other for icr and saving. as thread 1 scans the other processes the prev image (if still in the buffer). i have a window for the scanner that pops up and there is a cancel button. it all works great the scanner will usally have to process the log that is ready to scan before it stops but i do not have any idle time to have the status bar update when ever.

    C / C++ / MFC question help announcement

  • show text in statusbar
    J jafrazee

    my program imports or scans images and preforms icr on the image and archives that image to a drive or cd. i can also do all this in less that 1 sec. my program does lots in little time. some scan session will scan over 5000 documents without crashes. all i need to know if a statusbar can be forced to update.

    C / C++ / MFC question help announcement

  • show text in statusbar
    J jafrazee

    i need to show text in my status bar to show a process working and what is happening. the problem is i have no idle time to update the status bar. how can i update the status bar without stopping my code?. (or can i?)

    C / C++ / MFC question help announcement

  • CToolbar - diable item
    J jafrazee

    I have a toolbar that under certain conditions i may need to diable an item. how can this be done? the only set function i can find is SetButtonInfo. i tried to change the state of the toolbar button to point to an id with out a function. i noted if i do that as i am building the toolbar and did not yet attach a function to it that is shows diabled. i tried the following CToolBar* pBar = &m_wndToolBar; if (pBar != NULL) { pBar->SetButtonInfo(11,ID_NULL,TBBS_BUTTON,11); } this had no effect on the toolbar. thank you for any help

    C / C++ / MFC help question

  • CURSOR DISAPPEARS
    J jafrazee

    I HAVE NOTICED WHEN TYPING IN A ENTRY BOX MY CURSOR DISAPPEARS. WHEN I TAB OFF THE CURSOR COMES BACK THE PROBLEM THAT I HAVE NOW IS IF I TAB FROM AN ENTRY BOX TO A COMBO BOX ( I HAVE SET IT AUTO OPEN)I LOOSE THE CURSOR AND CAN NOT GET IT BACK UNTIL I SELECT AN ITEM FROM THE COMBO LIST. IS THERE A WAY TO BRING THE CURSOR BACK. THANK YOU.

    C / C++ / MFC help

  • cfile question
    J jafrazee

    thank you. after reading on stl i really did not want to add that much overhead to my program when i am only reading a file that would be about 5k max.

    C / C++ / MFC question

  • cfile question
    J jafrazee

    the following code will not compile but can i load the entire contents of a file into a CString? or is there a better way? int filelen = 0; CString Cbuf; ...... if(rfile.Open(openfile,CFile::modeRead | CFile::shareDenyWrite,NULL)){ filelen = rfile.GetLength(); if(filelen>0){ rfile.Read(Cbuf,filelen); ........ thank you.

    C / C++ / MFC question

  • multiple rows were updated
    J jafrazee

    i have a list box that allows the user to mark items to be deleted. on exit of the application i check the listbox and delete the records. i have double checked and none of my records are duplicated. but i do have some logs that have duplicate core data(all but 3 fields the same). the error occurs on the delete function. i have tried a try/catch around the delete function and it will trap the error and exit me out of my loop, but that is not what i need. again i do not have a sort set on the records, my list box takes care of and sorting. thank you do{ retval = pCtrl->GetItemState(ckrec,LVIS_STATEIMAGEMASK); if(retval == LVIS_SELECTED && !m_pSet->IsEOF()){ UpdateData(true); m_pSet->SetAbsolutePosition(ckrec+1); DeleteFile(Buffer); m_pSet->Delete(); } ckrec++; }while(ckrec <= pCtrl->GetItemCount());

    C / C++ / MFC database help

  • global carray
    J jafrazee

    yes i did that, but i found my problem. very stupid in my new class i forgot to add #include

    C / C++ / MFC c++ question

  • global carray
    J jafrazee

    that is another part of my problem. the external function that i want to use it in is another class.

    C / C++ / MFC c++ question

  • global carray
    J jafrazee

    how can i make a carray global. i have tried adding it in a header but it does not like my definion. i have tried making it extern but it again does not like my definion. it works great within the dialog it is created in. i am using it to hold report data. thank you. this is how i have it created. ******************************************* in h file ******************************************* typedef struct{ CString a; CString b; CString c; } MYCARRAYSTRUCT; ******************************************** in cpp file ******************************************** *************created global for the cpp MYCARRAYSTRUCT mycarraystruct; CArray mycarray; *************my funtion do{ ........ mycarraystruct.a = m_pSet->firstfield; mycarraystruct.b = m_pSet->secondfield; ..................... m_pSet->MoveNext(); }while.............

    C / C++ / MFC c++ question

  • multiple rows were updated
    J jafrazee

    i have created a try/catch/throw handler. it allows me to trap the error with my own message and exit my loop. but what i need is a way to prevent the error from happening at all. is this possible? actually i did not mention that i am using a crecordset that is setup as snapshot. this is the only way i could get a VFP database to work.

    C / C++ / MFC database help

  • Problems with SetWindowPos function
    J jafrazee

    not really, but is the dialog modeless. if it is modal you would only have access to the new top level dialog. sorry thats all i have.

    C / C++ / MFC help question

  • Problems with SetWindowPos function
    J jafrazee

    if i understand correctly you wish to bring a child dialog to the top without setting focus to the child. to do this you could use the SWP_NOACTIVATE flag. or you could use a comination of different flags to get the exact settings you require. SWP_ASYNCWINDOWPOS SWP_DEFERERASE SWP_DRAWFRAME SWP_FRAMECHANGED SWP_HIDEWINDOW SWP_NOACTIVATE SWP_NOMOVE SWP_NOOWNERZORDER SWP_NOREDRAW SWP_NOREPOSITION SWP_NOSENDCHANGING SWP_NOSIZE SWP_NOZORDER SWP_SHOWWINDOW

    C / C++ / MFC help question

  • Problems with SetWindowPos function
    J jafrazee

    i had a similar problem. i am not sure way it did not work but seem bto be the way the dialog was created. my work around was to shift the x,y pos 1 pixel. this allowed the setwindowpos to work and setfocus.

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

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