Scroll bar actions script issue

I am having a problem with the action script for a scroll bar
the code is complex and I did not write it but have managed to make
other adjustments to get it to work...think we got the wrong raw
file to work from because the scroll bar works in the file on the
seller's server. Can't find the programmer now. If someone could
please tell me what I am missing. The scroll bar works if you use
the solid scroller in the middle but does not move the information
and the arrows do not work at all. You can check this out at
http://74.53.228.34/~jacob753/vocab/
Just click on crossword and then load a topic and you will
see that the scroll bar does not work at all. The floating window
is another issue and I will put this in another message after this
is fixed.
The code is below:
initClueListScroll = function(y){
// y : hauteur de la cluelist (height of the cluelist)
_global.clueListHeight = y
_global.clueListScroll = true
var c = clScrollClip
c._x = Math.floor(cluelistClip._x+cluelistClip._width)
c.scrollBG._height = gridSize*cellSize-40
c.scrdownClip._y = c.scrollBG._y+c.scrollBG._height
c.scroller._height =
c.scrollBG._height*(gridSize*cellSize/y)
// ---- on définit les actions (action definitions)
c.scrdownClip.onRollOver = c.scrupClip.onRollOver =
function(){
this.gotoAndPlay(2)
c.scrdownClip.onRollOut = c.scrupClip.onRollOut =
function(){
this.gotoAndStop(1)
c.scrdownClip.onReleaseOutside = c.scrdownClip.onRelease =
function(){
this.gotoAndStop(1)
var c = getMain().clScrollClip
c.scrollBG.onRelease()
c.scrupClip.onReleaseOutside = c.scrdownClip.onRelease =
function(){
this.gotoAndStop(1)
var c = getMain().clScrollClip
c.scrollBG.onRelease()
c.scroller.onRollOver = function(){
this.gotoAndStop(2)
c.scroller.onRollOut = function(){
this.gotoAndStop(1)
c.scroller.onPress = function(){
this.gotoAndStop(2)
var c = getMain().clScrollClip
var yMin = c.scrollBG._y
var yMax =
c.scrollBG._y+Math.floor(c.scrollBG._height-c.scroller._height)
this.startDrag(false,0,yMin,0,yMax)
getMain().onMouseMove = function(){
var c = getMain().clScrollClip
var yDes = c.scroller._y-20
var yMax = Math.floor(c.scrollBG._height-c.scroller._height)
var yFin = 20+Math.min(yDes,yMax)
c.scroller.setGoTo(c.scroller._x,yFin,100,c.scroller._yscale,100,0,4)
var yDiff =
(yFin-c.scrollBG._y)*(gridSize*cellSize/c.scrollBG._height)
if(yFin==yMax+20){
var ymn = 0
var ymx = clueListHeight-(gridSize*cellSize)
yDiff = (ymx - ymn)*(yFin/(yMax+20))
// pX, pY, pW, pH, pA, pR, pSpeed
var cl = getMain().cluelistClip.contClip
cl.setGoTo(cl._x,-yDiff+gridPosition.y,100,100,100,0,4)
c.scroller.onRelease = c.scroller.onReleaseOutside =
function(){
stopDrag()
this.gotoAndStop(1)
delete getMain().onMouseMove
c.scrollBG.onRelease = function(){
var c = getMain().clScrollClip
var yDes = c._ymouse-20<c.scroller._height ? 0 :
c._ymouse-20
var yMax = Math.floor(c.scrollBG._height-c.scroller._height)
var yFin = 20+Math.min(yDes,yMax)
c.scroller.setGoTo(c.scroller._x,yFin,100,c.scroller._yscale,100,0,4)
var yDiff =
(yFin-c.scrollBG._y)*(gridSize*cellSize/c.scrollBG._height)
if(yFin==yMax+20){
var ymn = 0
var ymx = clueListHeight-(gridSize*cellSize)
yDiff = (ymx - ymn)*(yFin/(yMax+20))
// pX, pY, pW, pH, pA, pR, pSpeed
var cl = getMain().cluelistClip.contClip
cl.setGoTo(cl._x,-yDiff+gridPosition.y,100,100,100,0,4)
c.scrollBG.onReleaseOutside = c.scrollBG.onRelease

Try it in a simple test case.  I don't think that is default behavior.

Similar Messages

  • UPK - Click Scroll bar action not working in Player only

    In the Developer all action areas are working as they should but when I published to the web one action is not working - the Click Scroll bar action in the TryIt mode. When you reach this step and click the scroll bar nothing happens so you are forced to either go forward or back. Any ideas why this is happening? Thank you.

    Hello,
    This does not sound familiar to me, but it sounds like it should be easy to troubleshoot. I would suggest entering a ticket in My Oracle Support (support.oracle.com). Sorry I couldn't be more helpful.
    Best regards,
    Marc

  • XML Gallery won't work remotely - Action Script issues

    I created an XML scrolling thumbnail gallery using a
    tutorial
    found here
    I then had to alter the action script to get my thumbnails to
    display properly -- they were spaced out or overlapping each other
    and not in the sequence specified in the XML file. The new code
    works great locally, but the thumbnails and larger image refuse to
    load remotely in every browser i've tried. Any thoughts on how to
    alter the action script to load the gallery?!?! I'm not much
    experienced in Flash so any help would be most appreciated.
    You can find the page with my unloadable gallery
    here
    You can see my action script in my
    Flash
    CS3 file
    Thanks!
    Joe.

    Hi --
    I clicked on the link for your gallery and the images load??
    Both when I
    click on the image or when I click the "next" and "previous"
    buttons --
    although the "hit" area for the buttons is below the actual
    text so you
    should adjust that on those buttons. I would also recommend
    not making the
    text selectable so the cursor won't change to the "I bar"
    Rich
    "joesavy" <[email protected]> wrote in
    message
    news:fcp3qi$4ak$[email protected]..
    >I created an XML scrolling thumbnail gallery using a
    >
    http://www.kirupa.com/developer/mx2004/thumbnails.htm
    >
    > I then had to alter the action script to get my
    thumbnails to display
    > properly
    > -- they were spaced out or overlapping each other and
    not in the sequence
    > specified in the XML file. The new code works great
    locally, but the
    > thumbnails
    > and larger image refuse to load remotely in every
    browser i've tried. Any
    > thoughts on how to alter the action script to load the
    gallery?!?! I'm not
    > much
    > experienced in Flash so any help would be most
    appreciated.
    >
    > You can find the page with my unloadable gallery
    >
    http://www.sullivancreative.com/clients/se-07-7-24/se_website/gallery.html
    >
    > You can see my action script in my
    >
    http://www.sullivancreative.com/clients/se-07-7-24/se_website/xml_photogallery_s
    > crollthms_fix.fla
    >
    > Thanks!
    > Joe.
    >
    >

  • Scroll panel action script problem

    Hi, I have the following action script:
    and its giving me the following errors:
    Location: Scene 1, Layer 'action', Frame 1, Line 11
    Description: 1120: Access of undefined prperty _xmouse,
    Source: if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse
    <b.yMin || _ymouse>b.yMax) {
    Location: Scene 1, Layer 'action', Frame 1, Line 11
    Description: 1120: Access of undefined prperty _xmouse,
    Source: if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse
    <b.yMin || _ymouse>b.yMax) {
    Location: Scene 1, Layer 'action', Frame 1, Line 11
    Description: 1120: Access of undefined prperty _ymouse,
    Source: if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse
    <b.yMin || _ymouse>b.yMax) {
    Location: Scene 1, Layer 'action', Frame 1, Line 11
    Description: 1120: Access of undefined prperty _ymouse,
    Source: if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse
    <b.yMin || _ymouse>b.yMax) {
    Location: Scene 1, Layer 'action', Frame 1, Line 24
    Description: 1120: Access of undefined prperty _xmouse,
    Source: var xdist = _xmouse - 185;
    Location: Scene 1, Layer 'action', Frame 1, Line 8
    Description: 1120: Access of undefined prperty _root,
    Source: var b = stroke.getBounds(_root);
    Location: Scene 1, Layer 'action', Frame 1, Line 11
    Description: 1120: Access of undefined prperty _ymouse,
    Source: if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse
    <b.yMin || _ymouse>b.yMax) {
    HERE IS MY ACTION SCRIPT
    HERE IS MY FILE
    flash5.fla
    I used the following tutorial
    http://www.gotoandlearn.com/
    Scrolling Thumbnail Panel.
    Please help as to what I should do to fix it please.

    I can't be certain, because I don't have Flash CS3 on my
    computer, but it reads as though your publish settings are set to
    the wrong version of Actionscript. The code you have attached is
    Actionscript 2, and those errors sound like something that would be
    spit out if you are trying to publish to Actionscript 3. Check your
    publish settings, and change to AS2. If you are already on AS2,
    reply, and will look into further.
    Hope this helps.

  • Scroll Bar Action

    Best explained by example:
    I have 2000 things of data that I need to populate to a table. This table is being refreshed every 5 seconds. You can imagine the slow down of having to do this. Now, I have method that will allow me to pull out only 25 at a time, and as needed. I want to set up a vertical scroll bar that will allow me to pull out the specific 25 based upon where the scroll bar is at. Like if I scroll half-way, it'll pull out 1000-1025 portions of data. The problem that I'm running into is that I can't get the scrolling to work properly. I've been using the:
    m_scrollPane.getVerticalScrollBar().setValues(cur_sel, DATABASE_SPACE, 0, tol_count);tol_count: how many is in the database total
    cur_sel: where the scroll bar is at currently
    DATABASE_SPACE: how many will populate (for this example, it's 25)
    Every time I attempt to scroll, it just resets back to 0, and doesn't even scroll down.
    Any and all ideas to help me with this problem would be great! Thanks

    Best explained by example:Actually its best explained by posting demo code. We can't tell what is going on based on a single line of code.
    I"ve had better luck using table.scrollRectToVisible(...);
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • Newbie here, with button action script issue

    I have just started to scrach the surface with actionscript
    and I have attempted to assign it to buttons. Much to my supprise,
    it worked, sort of... All my buttons require a double click the
    first time you click on them. I was able to put
    this together, by
    using the following action script for all my buttons:
    on (release) {
    ybutton.onRelease = function() {
    gotoAndStop(28);
    So I have 2 questions. What actionscript will give me the
    single click that I am looking for? Also, is there any shortcut to
    making a broad change? In other words, will have to switch out the
    code for every button on 37 frames?
    Thank you

    1: // You needed two clicks because you have 2 onRelease.
    on (release) {
    gotoAndStop(28);
    2: Yes, it'll go fast I would copy the above and paste where
    needed then just change the frame #.

  • List vertical scroll bar position change issue

    Hi all,
    List selection makes the list jump (scroll) up moving the selected entry to top any idea on this issue.
    regards,
    karthik

    Try it in a simple test case.  I don't think that is default behavior.

  • Movie Clip Button - Action Script issues

    This is a two part question:
    1. I have my movie clip button, "mcAboutus" then inside my
    movie clip I have 5 layers: actions, labels, text, animated
    rollover("mcAboutusover"), animated rolloff("mcAboutusoff"). On the
    labels layer I have _up, _over, _off. On the _up is the text layer,
    on the _over is a movie clip of the animated
    rollover("mcAboutusover") which is 90 frames, and I want to loop as
    long as the mouse is over the text. And the _off has the
    "mcAboutusoff" movie clip.
    So I was able to have the rollover work, but when I roll off
    the rollover animation continues on until the end of the animation.
    I understand it has to do with the fact that it's a movie clip, but
    how do I point it to go into the movie clip and read the animation
    and that on the last frame of the animation I have a
    "gotoAndPlay(1);" to have the animation continue looping as long as
    it's in a rollover state?
    here is the code I have for the _root:
    this.mcAboutus.onRollOver = function() {
    mcAboutus.gotoAndPlay(_over);
    this.mcAboutus.onRollOut = function() {
    mcAboutus.gotoAndPlay(_off);
    The other problem I am having is that once the I have rolled
    over the animation once, the button dies and won't let me rollover
    it again?
    Aside from the "stop();" action in the mcAboutus movie clip
    symbol, I don't have any other actions, should I put items in the
    different movie clips I have set up?
    ALSO.... The reason that I have the main movie clip button,
    and two movie clips residing in the mcBtn is I wanted light rays to
    be glowing from the text, and I was having a hard time getting what
    I wanted from Flash, so I created in After Effects and exported two
    .SWF files. So those .SWF files are the _over and _off states in
    the mcBtn. I am having a very hard time controlling those Movie
    Clips within the main MC Button. Please, any help would be greatly
    appreciated.

    quote:
    Originally posted by:
    kglad
    mcAboutusover should be a movieclip that has your over
    animation and it should have a stop() on its last frame. it should
    be placed on your _over frame in mcAbousus' timeline. you should
    then use:
    Ok, so I have my main timeline, in it has my
    mcAboutus>> then inside that I have three labels. _up which
    has the static text then on frame 5 I have the _over which has the
    keyframe for the mcAboutusover, this animation is 90 frames, then I
    have on frame 10, the _off for the RollOut state, and I have a 10
    frame animation on that one. I still can't get it to continue on
    after the initial rollover, the button still dies down.
    I am going to redo everything in a presentation timeline,
    based on Total Training and see if that helps my problem out any,
    and will get back to you tomorrow with more info. Thanks

  • Scroll bar display in report

    Hi
    I want to set scroll bar in my report ..my column names should be fixed header...I surely need vertical scroll bar than horizontal scroll bar...I used the following javascript code to display scroll bar.
    <script language="JavaScript" type="text/javascript">
    <!-- Hide
    //Function Builds Static Header and Scrollable Div called with document onload
    function MakeStaticHeader(xDataGridName,xScrollHeight){
    //Grab the Table object
    var theTable = document.getElementById(xDataGridName);
    //Create a holder div so div header can be added correctly before table
    var myHolderDiv = document.createElement("div");
    myHolderDiv.setAttribute('id','tableHolder_'+ xDataGridName)
    //Create the Header Div, setting id and adding to Holder
    var myHeaderDiv = document.createElement("div");
    myHeaderDiv.setAttribute('id','divHeader_' + xDataGridName)
    myHolderDiv.appendChild(myHeaderDiv);
    //Insert the Holder and Header divs
    theTable.parentNode.insertBefore(myHolderDiv,theTable);
    //Append the Child
    myHolderDiv.appendChild(theTable)
    //More messy code with IE
    if(document.all){
    theName = "hold2_" + xDataGridName;
    else{
    theName = xDataGridName;
    //Create Body Div for scrollable body (IE creates a holder, mozilla creates the scroller)
    var theBodyDiv = document.createElement("div");
    theBodyDiv.setAttribute('id','divBody_' + theName);
    theBodyDiv.setAttribute('style','OVERFLOW-Y: scroll; OVERFLOW-X: auto; OVERFLOW: auto; HEIGHT: ' + xScrollHeight + ';')
    theTable.parentNode.insertBefore(theBodyDiv,theTable);
    theBodyDiv.appendChild(theTable);
    //Since IE can not apply the style to the new Child above, we need to make it messy! (IE is making this hard!)
    //Converts the holder to a scroller
    if(document.all){
    var theMessDiv = document.getElementById('divBody_' + theName);
    startDiv1 = '<div id="divBody_'+ xDataGridName +'" style="OVERFLOW-Y: scroll; OVERFLOW-X: auto; OVERFLOW: auto; HEIGHT: '+ xScrollHeight +';">';
    endDiv1 = '</div>';
    theMessDiv.innerHTML = startDiv1 + theMessDiv.innerHTML + endDiv1;
    //The following Code Builds the header
    theTable = document.getElementById(xDataGridName); // Arie
    //Grab border widths (have to check for different ways to define it!)
    var borderWidth = parseInt(theTable.style.borderwidth);
    if(!borderWidth){
    borderWidth = parseInt(theTable.border); }
    if(!borderWidth){
    borderWidth = parseInt(0); }
    //Grab the table Headers (if exsists)
         var theThs = theTable.getElementsByTagName("th");
         var hasThs = parseInt(theThs.length);
         var hasHeadCells = false;
         //See if the Table Headers exist
         if(hasThs>0){
         hasHeadCells = true;
    //Grab the table rows
         var theTrs = theTable.getElementsByTagName("tr");
    //Find the number of columns
    var theTrsTds = theTrs[1].getElementsByTagName("td");
         var numberOfColumns = parseInt(theTrsTds.length);
    //Grab all of the table cells
    var theTds = theTable.getElementsByTagName("td");
    //Determine the widths of the columns of the table
    var totalWidth = 0;
    var theWidths = new Array();
    for(i=0;i<numberOfColumns;i++){
              if(hasHeadCells){
              theWidths[i] = theThs.offsetWidth;
              else{
    theWidths[i] = theTds[i].offsetWidth;
              theTds[i+numberOfColumns].style.width = theWidths[i];
    totalWidth += parseInt(theWidths[i]);
    //Set the width of the div so the scroll bar is on the edge of the table
    document.getElementById("divBody_" + xDataGridName).style.width = document.getElementById("divBody_" + theName).offsetWidth;
    //Grab the content for the headers
    theHeaderCode = theTrs[0].innerHTML;
    //This is for IE only since it does not support getComputedStyle which is alot easier!
    var theStyle = "";
    if(document.getElementById("divBody_" + xDataGridName).currentStyle){
    //Grab the innerHTML and locate the style
    theX = document.getElementById("divBody_" + xDataGridName).innerHTML;
    theX = theX.split("style");
    //Verify that there is a style tag in the table tag
    if(theX[0].indexOf(xDataGridName) >= 0 && theX[1].indexOf("<TBODY>") >=0){
    //split aprt to get the style
    theQ = theX[1].split('"');
    //set the style string
    theStyle= "style='" + theQ[1] + "'";
    //Create the table code and set it on the document
    tbCode = "<table id='theAddon_"+ xDataGridName +"' "+ theStyle +">" + theHeaderCode + "</table>";
    document.getElementById("divHeader_" + xDataGridName).innerHTML = tbCode;
    //Apply the CSS Class and the Widths to the header Elements
         if(hasThs > 0){lookFor = "th";}
         else{lookFor = "td";}
    theNewTD = document.getElementById("divHeader_" + xDataGridName).getElementsByTagName(lookFor);
    for(i=0;i<theNewTD.length;i++){
    theNewTD[i].style.width = theWidths[i];
    /* Arie Workaround - English version*/
    //theNewTD[i].style.borderStyle = "solid none solid solid";
    //theNewTD[i].style.borderWidth = "1px";
    //Apply CSS to the static table
    theOrgTable = document.getElementById(xDataGridName);
    theNewTable = document.getElementById("theAddon_" + xDataGridName);
         for(x=0;x<theOrgTable.attributes.length;x++){
         if(theOrgTable.attributes[x].nodeValue && theOrgTable.attributes[x].nodeName.toLowerCase() != "id"){
         theNewTable.setAttribute(theOrgTable.attributes[x].nodeName,theOrgTable.attributes[x].nodeValue);
    // Calculate the scrollbar width and streach the last header cell
    var scrollbarWidth = document.getElementById("divHeader_" + xDataGridName).offsetWidth - document.getElementById("theAddon_" + xDataGridName).offsetWidth
    var lastHeaderCell = theNewTD.length - 1;
    theNewTD[lastHeaderCell].style.width = theWidths[lastHeaderCell] + scrollbarWidth;
    theNewTD[lastHeaderCell].style.borderStyleLeft = "solid";
    theNewTD[lastHeaderCell].style.borderWidthLeft = "1px";
    //Hide the orginal header row
         theTrs[0].style.display = "none";
    //Make mozilla browsers see the applied styles
    makeSame(theOrgTable,theNewTable)
    //Function to make Mozilla have the same inline styles
    function makeSame(elem_1, elem_2){
    if (window.getComputedStyle){
    elem_1x=window.getComputedStyle(elem_1, "");
    elem_2x=window.getComputedStyle(elem_2, "");
    elem_2x = elem_1x;
    // End Hide -->
    </script>
    I called the script code in onload event like
    onload="MakeStaticHeader('table_grab',50)"
    but my problem is that it is not displaying the data in proper format(not displaying data under correct columns)...i got this problem only when I have more columns(horizontally large)..I am not finding any problem if i have less columns with much data(vertically large)....
    I gave a sample report in the following link...
    http://apex.oracle.com/pls/otn/f?p=9608:1:409755984054854:::::
    Can anyone say how to set vertical scroll bar with fixed column headers in neat format even the number of columns are more...?
    Fazila

    Hello,
    This is a well-known issue with this code, as you can see in the thread you copied the code from.
    In the following post, Laura is presenting an IE only solution, based on a different code I wrote - Re: How to implement fixed column headers . Cross browser solution is yet to be found.
    Regards,
    Arie.

  • Scroll wheel - Scroll Bar mismatch

    Can I limit the mouse scroll wheel "left/right" and "up/down" so
    that its their actions matches the window's scroll bar actions.

    Something like this?
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Limit-Scrolling-with-wheel-to-Bounds-of-Panel-Diagram/...
    I am not holding my breath... 

  • Issue with Multithreading and vertical scroll bar - help needed to debug!!!

    I have been working on a desktop Visual Studio 2010 application for quite a few years. It is written in C++ and MFC. This code is a combination of code I have written and code I inherited. It worked great for years on Windows XP, but when I ported
    it to Windows 7, a tricky problem has come up that I am having the darnest time trying to figure out
    In summary, it is a single .exe desktop application. There is the main thread (thread A), which launches another thread (thread B). Both threads share a pointer to a single window object which displays events. This window also implements a vertical and horizontal
    scroll bar. 
    The interaction and message processing between the threads seems a little sticky to me. Both threads A and B call the same member function of the CWnd object. BUT, Thread B ALSO posts messages to thread A's queue.
    So, in thread B, you will see code like this, which makes a direct call to the output window object, AND THEN it also posts a message to Thread A's mainframe window like this...
    if( m_pEventLog )
    pOutputWindow->AddLine("Some test...");
    if( m_phNotifyWnd[RECEIVE] && m_puiEventWMsg[RECEIVE] ) {
    ::PostMessage( m_phNotifyWnd[RECEIVE], m_puiEventWMsg[RECEIVE], 0, (LPARAM) pPkt );
    WHEN thread A receives the message that thread B posted above, it only does the following:
    LRESULT CMainFrame::OnSocketReceive( WPARAM, LPARAM lParam )
    CSPkt* pPkt;
    CRWPkt* pRWPkt;
    CSPktSocket* pSocket;
    ULONG ulType;
    CString csTemp;
    CBSWords bsWords;
    CSSSWords sssWords;
    CRWPkt* pLoopBackRWMsg; // used if we have to send a loopback msg back to sender
    CLMsg lmsg;
    m_wndTextWindow.AddLine("Test message");
    return 0;
    So both threads are writing to the output window via the .AddLine() member function.
    void COutputWnd::AddLine( CString& strLine, COLORREF crColor )
    UpdateVScroll();
    return;
    And this function then makes a call to :UpdateVScroll().  The problem seems to arise because thread B does a
    post to thread A, where thread A in turn writes to the output window. Eventually, the program
    HANGS in the call to
    SetScrollInfo() below...
    void COutputWnd::UpdateVScroll()
    CSingleLock lock( &m_CSVertScrollLock ); // lock things up while we are in here
    BOOL bok = lock.Lock();
    if (lock.IsLocked() == TRUE)
    int iMax = m_FifoIndices.GetHighestIndex();
    if( iMax < ( m_iMaxViewableLines - 1 ) )
    iMax = 0;
    //SetScrollRange( SB_VERT, 0, iMax, FALSE );
    //SetScrollRange( SB_VERT, 0, 9, FALSE );
    SCROLLINFO scrollinfo;
    scrollinfo.cbSize = sizeof(SCROLLINFO);
    scrollinfo.fMask = SIF_RANGE;
    scrollinfo.nMin=0;
    scrollinfo.nMax= iMax;
    SetScrollInfo(SB_VERT, &scrollinfo, FALSE);
    lock.Unlock();
    It doesn't take long for the program to hang...maybe about 10 seconds. 
    When I hit DEBUG->BREAK ALL, I get the output below in the CALL STACK WINDOW.
    ntdll.dll!770070f4()
    [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
    user32.dll!76c0cde0()
    user32.dll!76c018d9()
    >
    mfc100d.dll!AfxInternalPumpMessage()  Line 153 + 0x13 bytes
    C++
    mfc100d.dll!CWinThread::PumpMessage()  Line 900
    C++
    mfc100d.dll!CWinThread::Run()  Line 629 + 0xd bytes
    C++
    mfc100d.dll!_AfxThreadEntry(void * pParam=0x0022f6a4)  Line 122 + 0x13 bytes
    C++
    msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes
    C
    msvcr100d.dll!_threadstartex(void * ptd=0x004f97c0)  Line 297
    C
    kernel32.dll!762cee1c()
    ntdll.dll!770237eb()
    ntdll.dll!770237be()
    NOTE: If I never make the call to SetScrollInfo(), the program never HANGS.
    Sooo....I am trying to determine if there is a fundamental issue with the way the threads are communicating that is causing the issue, or if maybe I have a memory overwrite. It always hangs in ::SetScrollInfo(), no matter what I comment and uncomment. This
    makes me think that scroll bat behavior is different in Windows 7 than on XP, but I have not been able to find any documentation about it. 
    Can anyone provide any insight as to what may be the cause of the program hanging>

    It might look like working but it will crash eventually. The windows are thread affine and other thread must never touch other threads windows. Sometimes you might get along but usually it just crashes.
    Thread B must use PostMessage ( or SendMessage if suncronous action is require) to thread A's windows to achieve correct updating. Some very basic calls are implemented directly with SendMessage so they are safe to use but then you must individually check
    which ones are safe.
    Also having multiple SendMessage calls from B to A require rendezvous which might cause other problems ( thread B stalls or program deadlocks, depending on other program structure).
    So PostMessage is the way to do it ( or create yourself another inter-thread mechanism, possible but usually too much troble)

  • Page shift due to vertical scroll bar issue

    I'm working through a vertical scroll bar issue in my design, using a ProjectSeven CSS page template. When testing the site in my browsers (FF/Safari/IE/Opera), and IF the scroll bar is not present, the entire page shifts to the left (the width of the scroll bar) when I click a link in the left column of my design. The page does not shift when the vertical scroll bar is present. Support at P7 suggested the following fix:
    html, body {
    height: 100.1%;
    margin: 0 0 1px;
    I've tried placing this markup in about ten different places but can't seem to find the right location in the code. Is it possible for someone in the forum to take a look at my page source and show me where/how to locate this fix?
    See my test site at:
    http://www.murcal.com/test_curvi_2.html
    Thanks .  .  .  .

    PZ,
    I'd like to place the fix where you've suggested, but that's the whole issue.
    I simply don't know where my CSS ends (duh). Is it possible that you show me exactly where?
    Hopefully this is the right section of my code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>PVII Curvitude</title>
    <link href="p7curvitude/p7CRVboxes982_2col.css" rel="stylesheet" type="text/css" />
    <link href="p7curvitude/p7CRV08.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]>
    <style>
    #navbar a {height: 1%; float: left;}
    </style>
    <![endif]-->
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="p7apm/p7APM10.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7apm/p7APMscripts.js"></script>
    <link href="p7pmm/p7PMMh04.css" rel="stylesheet" type="text/css" media="all" />
    <link href="p7pmm/p7PMMh07.css" rel="stylesheet" type="text/css" media="all" />
    </head>
    <body>
    I've tried placing it in about ten different places, but I'm wrong everytime.
    Obviously, I'm a beginner trying to learn. I just can't seem to place it correctly.

  • [ADF-11.1.2] Scroll bar Issues - Please file BUGs for these issues.

    Hello,
    Recently, I have started working on ADF and till now I found 2 scroll bar issues with Oracle ADF.
    1. af|inputComboboxListOfValues : Scroll bar appears on Google Chrome.
    Screenshot: http://imageshack.us/photo/my-images/829/inputcomboboxlistofvalu.jpg/
    2. Setting Table "columnStretching" brings dummy scroll bar : [ADF-11.1.2] Setting Table "columnStretching" brings dummy scroll bar
    I beleive that these two are scroll bar related Bugs but what I understand from ?messageID=9773962 that since I don't have support contract, I can't file a bug.
    I have created this thread so that responsible people can take actions accordingly.

    Shay,
    Thank you for your reply. I will take a look at your links.
    Use Case:
    Application will have different BC for different IT Assets (like Monitor, Keyboard, Servers etc), which will basically hold records for all available Assets (like Display Resolution, screen size etc for all monitor in Monitor BC).
    I want to give user; the ability to create, for e.g., the sub-class of Monitor to store more specific attribute-values in different table (which will be linked Parent BC). For e.g.: They may want to care about holding CRT and LCD Monitor records in separate new database table -- Application will ask user what all attributes/Columns they want to see for LCD which is specific to this type AND which is not present in already existing out-of-box Monitor BC/Table - e.g. - "Viewing Angle" Attribute).
    With that said, I can write code to create database table on fly (having 1-to-1 foreign key reference to parent table) but writing ADF part seems difficult. I also wanted application to automatically generate new page for newly added VO BC. E.g.: LCD-Monitor.JSPX inheriting all attributes from monitor (parent VO) in the same structure as Monitor.JSPX file is having with extra LCD-specific Attributes in separate panel tab (which again UI developers can customized it).
    Too much to expect huh !
    I am going to start building the application so If not above way, any other suggestion to achieve the requirement ?
    Edited by: Anandsagar Sah on Aug 29, 2011 9:23 PM

  • Action Script problem with scrolling images

    doing a tutorial and got to the stage of action scripting mouse control for scrolling images.
    checked the script in Actions. And said it was ok...No errors found.
    Tested the movie and there were 2 compiler errors reported.
    Scene 1. layer 'action script', Frame 1, line 1: 1120:Access of undefined property _root. _root.onEnterFrame=funtion(){
    Scene 1. layer 'action script', Frame 1, line 2: 1120:Access of undefined property _root. _if(_root._xmouse<50){
    Scene 1. layer 'action script', Frame 1, line 1: Warning: 1058: Migration issue: The property _root.onEnterFrame=funtion(){
    Can anyone help me understand this.
    thanks

    It sounds like you are mixing up AS2 code with AS3 compiling.  You may need to change you publish settings to AS2.

  • Skillbuilders Modal Page (2.0.0) - Scroll bar issue

    Hi,
    I am using this plugin and I am having an issue.
    My requirement is to open a page from a link. I am able to do the same but I want the pop to be of specific width and height with scroll bar for height but not for width.
    Is there any way to do the same?
    As of now I can see that we can either turn both scroll bars on or both off.
    Please suggest that how can the same be achieved.
    Thanks in advance,
    Abhishek

    Abhishek,
    It's true, the one option controls both horizontal and vertical scrolling. This is due to the fact that the underlying plug-in uses one option for both.
    Have you tried just constraining the width of your modal page so that it's not as wide?
    As always, putting an example on apex.oracle.com and providing developer credentials would be helpful in helping you.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

Maybe you are looking for

  • BC Sender Adapter

    Hello, i get the following error in Communication Channel Monitoring (for my sender BC adapter): Message processing failed due to error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not queue send for message 9e7.....(O

  • SRM7.0 Multiple  G/L account assignment for a product category

    Hi All, In SRM7.0 , it is possible to maintain multiple G/L accounts for a prodict category and account assignment combination. For example , for a product Category XX and account assignment CC , we can maintain more than one G/L account with one G/L

  • Printing from iPhone 4s to hp8600 plus office

    printing from iPhone 4s to hp8600 plus office jet. error message from my iPhone says "no AirPrint printers found". thanks so much for helping me configure!

  • CRMOD integration with Content management system

    Helll All, Is any one try with Contenet management system integration with CRMOD. If yes could you please help me with some techniques how to integrated with CRMOD. Thanks in advance. Regards, Subbu

  • Photos missing from photo book

    I have recently opened iPhoto and have gone to do another photo book/Project, and was just checking an older book I made and have noticed some photos are missing from the book/Project? They are also not in the Album with all the photos I used for the